us.asciiroth.client.items
Class Bone

java.lang.Object
  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
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 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

SERIALIZER

public static Serializer<Bone> SERIALIZER
Type serializer.

Constructor Detail

Bone

public Bone()
Constructor.

Method Detail

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

0.7

2009 Alx Dark