jadex.examples.hunterprey
Class Prey
java.lang.Object
jadex.examples.hunterprey.WorldObjectData
jadex.examples.hunterprey.WorldObject
jadex.examples.hunterprey.CreatureData
jadex.examples.hunterprey.Creature
jadex.examples.hunterprey.PreyData
jadex.examples.hunterprey.Prey
- All Implemented Interfaces:
- BeanInfo, Serializable
- public class Prey
- extends PreyData
Editable Java class for concept Prey of hunterprey ontology.
- See Also:
- Serialized Form
Method Summary |
String |
toString()
Get a string representation of this Creature. |
Methods inherited from class jadex.examples.hunterprey.Creature |
clone, createLocation, createLocation, equals, getDirections, getDirections, getDirections, getDistance, getDistance, getDistance, getObject, getPossibleDirections, hashCode, isInVisionRange, isNear, sortByDistance, sortByDistance |
Methods inherited from class jadex.examples.hunterprey.CreatureData |
getAge, getAID, getLeaseticks, getName, getPoints, getVisionRange, getWorldHeight, getWorldWidth, setAge, setAID, setLeaseticks, setName, setPoints, setVisionRange, setWorldHeight, setWorldWidth |
Prey
public Prey()
- Create a new Prey.
Prey
public Prey(String name,
AgentIdentifier aid,
Location location)
- Create a new Prey.
toString
public String toString()
- Get a string representation of this Creature.
- Overrides:
toString
in class PreyData
- Returns:
- The string representation.
Submit a bug or feature
For further API reference and developer documentation, see the Jadex User Guide and the Jadex Tutorial. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, and working code examples. Copyright (C) 2002-2005 Lars Braubach, Alexander Pokahr, Andrzej Walczak - University of Hamburg. Use is subject to license terms.