Jadex 0.96

jadex.examples.hunterprey
Class HunterData

java.lang.Object
  extended by jadex.examples.hunterprey.WorldObjectData
      extended by jadex.examples.hunterprey.WorldObject
          extended by jadex.examples.hunterprey.CreatureData
              extended by jadex.examples.hunterprey.Creature
                  extended by jadex.examples.hunterprey.HunterData
All Implemented Interfaces:
Serializable, nuggets.INugget
Direct Known Subclasses:
Hunter

public abstract class HunterData
extends Creature
implements nuggets.INugget

Java class for concept Hunter of hunterprey_beans ontology.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface nuggets.INugget
nuggets.INugget.Helper
 
Field Summary
 
Fields inherited from class jadex.examples.hunterprey.Creature
alldirs
 
Constructor Summary
HunterData()
          Default Constructor.
 
Method Summary
 void _persist(nuggets.ICruncher c)
          Persist this Hunter using the nuggets utility.
 void _set(String a, Object v)
          Restore this Hunter
 String toString()
          Get a string representation of this Hunter.
 
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
 
Methods inherited from class jadex.examples.hunterprey.WorldObjectData
getLocation, setLocation
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HunterData

public HunterData()
Default Constructor.
Create a new Hunter.

Method Detail

toString

public String toString()
Get a string representation of this Hunter.

Overrides:
toString in class CreatureData
Returns:
The string representation.

_persist

public void _persist(nuggets.ICruncher c)
Persist this Hunter 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 Hunter

Specified by:
_set in interface nuggets.INugget
Overrides:
_set in class CreatureData
Parameters:
a - the name of the attribute
v - the value of the attribute

Jadex 0.96

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.