Class Prey
- java.lang.Object
- 
- jadex.bdi.examples.hunterprey_classic.WorldObject
- 
- jadex.bdi.examples.hunterprey_classic.Creature
- 
- jadex.bdi.examples.hunterprey_classic.Prey
 
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 
 public class Prey extends Creature implements java.io.Serializable Editable Java class for concept Prey of hunterprey ontology.- See Also:
- Serialized Form
 
- 
- 
Field Summary- 
Fields inherited from class jadex.bdi.examples.hunterprey_classic.Creatureage, aid, alldirs, leaseticks, name, points, visionrange, worldheight, worldwidth
 - 
Fields inherited from class jadex.bdi.examples.hunterprey_classic.WorldObjectlocation
 
- 
 - 
Constructor SummaryConstructors Constructor Description Prey()Create a new Prey.Prey(java.lang.String name, IComponentIdentifier aid, Location location)Create a new Prey.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringtoString()Get a string representation of this Creature.- 
Methods inherited from class jadex.bdi.examples.hunterprey_classic.Creatureclone, createLocation, createLocation, equals, getAge, getAID, getDirections, getDirections, getDirections, getDistance, getDistance, getLeaseticks, getLocationDistance, getName, getObject, getPoints, getPossibleDirections, getVisionRange, getWorldHeight, getWorldWidth, hashCode, isInVisionRange, isNear, setAge, setAID, setLeaseticks, setName, setPoints, setVisionRange, setWorldHeight, setWorldWidth, sortByDistance, sortByDistance, update
 - 
Methods inherited from class jadex.bdi.examples.hunterprey_classic.WorldObjectgetLocation, setLocation
 
- 
 
- 
- 
- 
Constructor Detail- 
Preypublic Prey() Create a new Prey.
 - 
Preypublic Prey(java.lang.String name, IComponentIdentifier aid, Location location)Create a new Prey.
 
- 
 - 
Method Detail- 
toStringpublic java.lang.String toString() Get a string representation of this Creature.- Overrides:
- toStringin class- WorldObject
- Returns:
- The string representation.
 
 
- 
 
-