public class Food extends WorldObject
location
Constructor and Description |
---|
Food()
Create a new Food.
|
Food(Location location)
Create a new Food.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString()
Get a string representation of this Food.
|
equals, getLocation, hashCode, setLocation
public Food()
public Food(Location location)
public java.lang.String toString()
toString
in class WorldObject