Class Hunter
- java.lang.Object
-
- jadex.bdi.examples.hunterprey_classic.WorldObject
-
- jadex.bdi.examples.hunterprey_classic.Creature
-
- jadex.bdi.examples.hunterprey_classic.Hunter
-
- All Implemented Interfaces:
java.io.Serializable
public class Hunter extends Creature implements java.io.Serializable
Editable Java class for concept Hunter 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 Hunter()
Create a new Hunter.Hunter(java.lang.String name, IComponentIdentifier aid, Location location)
Create a new Hunter.
-
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
-
Hunter
public Hunter()
Create a new Hunter.
-
Hunter
public Hunter(java.lang.String name, IComponentIdentifier aid, Location location)
Create a new Hunter.
-
-
Method Detail
-
toString
public java.lang.String toString()
Get a string representation of this Creature.- Overrides:
toString
in classWorldObject
- Returns:
- The string representation.
-
-