Class CopperPill

  extended by us.asciiroth.client.core.AbstractPiece
      extended by us.asciiroth.client.items.AbstractItem
          extended by us.asciiroth.client.items.CopperPill
All Implemented Interfaces:
Item, Piece

public class CopperPill
extends AbstractItem

A consumable item that gives the player resistance to paralysis. This form of resistance has a small chance of wearing off every time it is used.

Field Summary
static Serializer<CopperPill> SERIALIZER
          Type serializer.
Constructor Summary
Method Summary
 void onUse(Event event)
          The player has used the item without indicating any particular direction for use.
Methods inherited from class us.asciiroth.client.items.AbstractItem
getDefiniteNoun, getIndefiniteNoun, onDeselect, onDrop, onFire, onHit, onSelect, onSteppedOn, onThrow, onThrowEnd
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 final Serializer<CopperPill> SERIALIZER
Type serializer.

Constructor Detail


public CopperPill()

Method Detail


public void onUse(Event event)
Description copied from interface: Item
The player has used the item without indicating any particular direction for use. Even if the item has no intrinsic use, it's helpful to cancel the event with a message explaining that the item requires a direction to be useful.

Specified by:
onUse in interface Item
onUse in class AbstractItem


2009 Alx Dark