Package FAtiMA.Core.util.enumerables
Class EventType
java.lang.Object
FAtiMA.Core.util.enumerables.EventType
- Author:
- Meiyii Lim 07/01/10 Class that implements the Enumerable for the different types of event - goal or action
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
GOAL
public static final short GOAL- See Also:
-
ACTION
public static final short ACTION- See Also:
-
-
Constructor Details
-
EventType
public EventType()
-
-
Method Details
-
ParseType
Parses a string that corresponds to the EventType and returns the appropriate EventType (enumerable)- Parameters:
eventType- - the name of the type of goal event to search for- Returns:
- - the id of the event type
-
GetName
Gets the event type, given its identifier- Parameters:
eventType- id of the event type- Returns:
- the name of the event type
-