us.asciiroth.client.items
Class Bone
java.lang.Object
us.asciiroth.client.core.AbstractPiece
us.asciiroth.client.items.AbstractItem
us.asciiroth.client.items.Bone
- All Implemented Interfaces:
- Item, Piece
public class Bone
- extends AbstractItem
A bone. Many agents (bone eaters) would rather chase after bones than
chase after the player, so they can be used to distract agents, until
they are eaten up, that is.
Constructor Summary |
Bone()
Constructor. |
Method Summary |
void |
onSteppedOn(Event event,
Cell agentLoc,
Agent agent)
Notification that an agent has entered the same square as this item. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SERIALIZER
public static Serializer<Bone> SERIALIZER
- Type serializer.
Bone
public Bone()
- Constructor.
onSteppedOn
public void onSteppedOn(Event event,
Cell agentLoc,
Agent agent)
- Description copied from interface:
Item
- Notification that an agent has entered the same square as this item.
- Specified by:
onSteppedOn
in interface Item
- Overrides:
onSteppedOn
in class AbstractItem
© 2009 Alx Dark