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.Creature
age, aid, alldirs, leaseticks, name, points, visionrange, worldheight, worldwidth
-
Fields inherited from class jadex.bdi.examples.hunterprey_classic.WorldObject
location
-
-
Constructor Summary
Constructors Constructor Description Prey()
Create a new Prey.Prey(java.lang.String name, IComponentIdentifier aid, Location location)
Create a new Prey.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
Get a string representation of this Creature.-
Methods inherited from class jadex.bdi.examples.hunterprey_classic.Creature
clone, 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.WorldObject
getLocation, setLocation
-
-
-
-
Constructor Detail
-
Prey
public Prey()
Create a new Prey.
-
Prey
public Prey(java.lang.String name, IComponentIdentifier aid, Location location)
Create a new Prey.
-
-
Method Detail
-
toString
public java.lang.String toString()
Get a string representation of this Creature.- Overrides:
toString
in classWorldObject
- Returns:
- The string representation.
-
-