jadex.examples.hunterprey
Class ObserverData
java.lang.Object
jadex.examples.hunterprey.WorldObjectData
jadex.examples.hunterprey.WorldObject
jadex.examples.hunterprey.CreatureData
jadex.examples.hunterprey.Creature
jadex.examples.hunterprey.ObserverData
- All Implemented Interfaces:
- Serializable, nuggets.INugget
- Direct Known Subclasses:
- Observer
public abstract class ObserverData
- extends Creature
- implements nuggets.INugget
Java class for concept Observer of hunterprey_beans ontology.
- See Also:
- Serialized Form
Nested classes/interfaces inherited from interface nuggets.INugget |
nuggets.INugget.Helper |
Method Summary |
void |
_persist(nuggets.ICruncher c)
Persist this Observer using the nuggets utility. |
void |
_set(String a,
Object v)
Restore this Observer |
String |
toString()
Get a string representation of this Observer. |
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 |
ObserverData
public ObserverData()
- Default Constructor.
Create a new Observer
.
toString
public String toString()
- Get a string representation of this Observer.
- Overrides:
toString
in class CreatureData
- Returns:
- The string representation.
_persist
public void _persist(nuggets.ICruncher c)
- Persist this Observer using the nuggets utility.
- Specified by:
_persist
in interface nuggets.INugget
- Overrides:
_persist
in class CreatureData
- Parameters:
c
-
_set
public void _set(String a,
Object v)
- Restore this Observer
- Specified by:
_set
in interface nuggets.INugget
- Overrides:
_set
in class CreatureData
- Parameters:
a
- the name of the attributev
- the value of the attribute
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-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.