Class Bone

  extended by us.asciiroth.client.core.AbstractPiece
      extended by us.asciiroth.client.items.AbstractItem
          extended by 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.

Field Summary
static Serializer<Bone> SERIALIZER
          Type serializer.
Constructor Summary
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 us.asciiroth.client.items.AbstractItem
getDefiniteNoun, getIndefiniteNoun, onDeselect, onDrop, onFire, onHit, onSelect, onThrow, onThrowEnd, onUse
Methods inherited from class us.asciiroth.client.core.AbstractPiece
getColor, getName, getSymbol, is, not
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface us.asciiroth.client.core.Piece
getColor, getName, getSymbol, is, not

Field Detail


public static Serializer<Bone> SERIALIZER
Type serializer.

Constructor Detail


public Bone()

Method Detail


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
onSteppedOn in class AbstractItem


2009 Alx Dark