|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Some games support hits, some do not support hits. Some games support hit locations, some don't. Hits are optional in the XML game definition. If a hit is defined, the hit parser allows the developer to extend hit support and extract hit location.
In version 1.0 of this system hit parsing is deliberatly rudimentary. I don't know any quake mods other than Urban Terror, and Urban Terror supports being hit and hitting. I personaly only care about my accuracy, I don't need to know how often the enemy shoot me in the Liver. This is one area that could be expanded on.
Method Summary | |
java.lang.String |
hitParse(java.lang.String hit)
This method parses a Hit and returns the location. |
Method Detail |
public java.lang.String hitParse(java.lang.String hit)
hit
- The kill string.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |