Jadex 0.96

jadex.examples.hunterprey
Class Prey

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.PreyData
                      extended by jadex.examples.hunterprey.Prey
All Implemented Interfaces:
Serializable, nuggets.INugget

public class Prey
extends PreyData

Editable Java class for concept Prey of hunterprey 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
Prey()
          Create a new Prey.
Prey(String name, AgentIdentifier aid, Location location)
          Create a new Prey.
 
Method Summary
 String toString()
          Get a string representation of this Creature.
 
Methods inherited from class jadex.examples.hunterprey.PreyData
_persist, _set
 
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

Prey

public Prey()
Create a new Prey.


Prey

public Prey(String name,
            AgentIdentifier aid,
            Location location)
Create a new Prey.

Method Detail

toString

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

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

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.