public class RequestEat
extends java.lang.Object
implements jadex.bridge.fipa.IComponentAction
Modifier and Type | Field and Description |
---|---|
protected Creature |
creature
The creature.
|
protected WorldObject |
object
The object being eaten.
|
Constructor and Description |
---|
RequestEat()
Default Constructor.
|
RequestEat(Creature creature,
WorldObject object)
Init Constructor.
|
Modifier and Type | Method and Description |
---|---|
Creature |
getCreature()
Get the creature of this RequestEat.
|
WorldObject |
getObject()
Get the object of this RequestEat.
|
void |
setCreature(Creature creature)
Set the creature of this RequestEat.
|
void |
setObject(WorldObject object)
Set the object of this RequestEat.
|
java.lang.String |
toString()
Get a string representation of this RequestEat.
|
protected Creature creature
protected WorldObject object
public RequestEat()
RequestEat
.public RequestEat(Creature creature, WorldObject object)
creature
- object
- public Creature getCreature()
public void setCreature(Creature creature)
creature
- the value to be setpublic WorldObject getObject()
public void setObject(WorldObject object)
object
- the value to be setpublic java.lang.String toString()
toString
in class java.lang.Object