|
Jadex 0.96 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjadex.examples.hunterprey.WorldObjectData
jadex.examples.hunterprey.WorldObject
jadex.examples.hunterprey.CreatureData
public abstract class CreatureData
Java class for concept Creature of hunterprey_beans ontology.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface nuggets.INugget |
---|
nuggets.INugget.Helper |
Constructor Summary | |
---|---|
CreatureData()
Default Constructor. |
Method Summary | |
---|---|
void |
_persist(nuggets.ICruncher c)
Persist this Creature using the nuggets utility. |
void |
_set(String a,
Object v)
Restore this Creature |
int |
getAge()
Get the age of this Creature. |
AgentIdentifier |
getAID()
Get the aid of this Creature. |
int |
getLeaseticks()
Get the leaseticks of this Creature. |
String |
getName()
Get the name of this Creature. |
int |
getPoints()
Get the points of this Creature. |
int |
getVisionRange()
Get the visionrange of this Creature. |
int |
getWorldHeight()
Get the world-height of this Creature. |
int |
getWorldWidth()
Get the world-width of this Creature. |
void |
setAge(int age)
Set the age of this Creature. |
void |
setAID(AgentIdentifier aid)
Set the aid of this Creature. |
void |
setLeaseticks(int leaseticks)
Set the leaseticks of this Creature. |
void |
setName(String name)
Set the name of this Creature. |
void |
setPoints(int points)
Set the points of this Creature. |
void |
setVisionRange(int visionrange)
Set the visionrange of this Creature. |
void |
setWorldHeight(int worldheight)
Set the world-height of this Creature. |
void |
setWorldWidth(int worldwidth)
Set the world-width of this Creature. |
String |
toString()
Get a string representation of this Creature. |
Methods inherited from class jadex.examples.hunterprey.WorldObject |
---|
equals, hashCode |
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 |
---|
public CreatureData()
Creature
.
Method Detail |
---|
public int getAge()
public void setAge(int age)
age
- the value to be setpublic int getPoints()
public void setPoints(int points)
points
- the value to be setpublic String getName()
public void setName(String name)
name
- the value to be setpublic AgentIdentifier getAID()
public void setAID(AgentIdentifier aid)
aid
- the value to be setpublic int getVisionRange()
public void setVisionRange(int visionrange)
visionrange
- the value to be setpublic int getWorldWidth()
public void setWorldWidth(int worldwidth)
worldwidth
- the value to be setpublic int getWorldHeight()
public void setWorldHeight(int worldheight)
worldheight
- the value to be setpublic int getLeaseticks()
public void setLeaseticks(int leaseticks)
leaseticks
- the value to be setpublic String toString()
toString
in class WorldObjectData
public void _persist(nuggets.ICruncher c)
_persist
in interface nuggets.INugget
_persist
in class WorldObjectData
c
- public void _set(String a, Object v)
_set
in interface nuggets.INugget
_set
in class WorldObjectData
a
- the name of the attributev
- the value of the attribute
|
Jadex 0.96 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.