Class Food
- java.lang.Object
-
- jadex.bdi.examples.hunterprey_classic.WorldObject
-
- jadex.bdi.examples.hunterprey_classic.Food
-
public class Food extends WorldObject
Editable Java class for concept Food of hunterprey ontology.
-
-
Field Summary
-
Fields inherited from class jadex.bdi.examples.hunterprey_classic.WorldObject
location
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
Get a string representation of this Food.-
Methods inherited from class jadex.bdi.examples.hunterprey_classic.WorldObject
equals, getLocation, hashCode, setLocation
-
-
-
-
Constructor Detail
-
Food
public Food()
Create a new Food.
-
Food
public Food(Location location)
Create a new Food.
-
-
Method Detail
-
toString
public java.lang.String toString()
Get a string representation of this Food.- Overrides:
toString
in classWorldObject
- Returns:
- The string representation.
-
-