Package | Description |
---|---|
org.bitbrawl.foodfight.field |
Classes and interfaces representing objects and properties of the game field.
|
Modifier and Type | Method | Description |
---|---|---|
Food.Type |
Inventory.get(Player.Hand hand) |
Gets the type of food that is held in a given hand.
|
Food.Type |
Food.getType() |
Returns the type of this piece of food.
|
static Food.Type |
Food.Type.valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static Food.Type[] |
Food.Type.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method | Description |
---|---|---|
Set<Food.Type> |
Table.getFood() |
Returns a set of all of the types of food on this table.
|
Modifier and Type | Method | Description |
---|---|---|
Food |
Field.getFood(Food.Type type) |
Returns the food piece on this field with the given type.
|