com.fuckingbrit.q3astats
Interface HitParser

All Known Implementing Classes:
UT2Hit

public interface HitParser

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.

Version:
1.0
Author:
Michael Jervis (mike@fuckingbrit.com)

Method Summary
 java.lang.String hitParse(java.lang.String hit)
          This method parses a Hit and returns the location.
 

Method Detail

hitParse

public java.lang.String hitParse(java.lang.String hit)
This method parses a Hit and returns the location.

Parameters:
hit - The kill string.
Returns:
A string location name.