Package | Description |
---|---|
org.bitbrawl.foodfight.field |
Classes and interfaces representing objects and properties of the game field.
|
Modifier and Type | Method | Description |
---|---|---|
static Event |
Event.valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static Event[] |
Event.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method | Description |
---|---|---|
int |
Score.getCount(Event event) |
Returns the total number of times that the given event was scored.
|
int |
Score.getPoints(Event event) |
Returns the total number of points that the given event has scored.
|