Package | Description |
---|---|
org.bitbrawl.foodfight.field |
Classes and interfaces representing objects and properties of the game field.
|
org.bitbrawl.foodfight.util |
Useful classes that do not directly represent field objects.
|
Modifier and Type | Method | Description |
---|---|---|
Food |
Field.getFood(Food.Type type) |
Returns the food piece on this field with the given type.
|
Modifier and Type | Method | Description |
---|---|---|
Set<Food> |
Field.getFood() |
Returns a set containing all of the food on the field.
|
Modifier and Type | Method | Description |
---|---|---|
static boolean |
PlayerUtils.canPickup(Player player,
Food food,
Player.Hand hand) |
Determines whether the given player can pick up the given food piece,
with the given hand.
|