us.asciiroth.client.items
Class Weakray

java.lang.Object
  extended by us.asciiroth.client.core.AbstractPiece
      extended by us.asciiroth.client.items.AbstractItem
          extended by us.asciiroth.client.items.Weakray
All Implemented Interfaces:
Item, Piece

public class Weakray
extends AbstractItem

A form of ammo that will end with a weakness explosion. Used by Asciiroth.


Field Summary
static Serializer<Weakray> SERIALIZER
          Type serializer.
 
Constructor Summary
Weakray()
          Constructor.
 
Method Summary
 void onThrowEnd(Event event, Cell cell)
          Notification that this item, having been thrown, has fallen to the ground at the indicated cell.
 
Methods inherited from class us.asciiroth.client.items.AbstractItem
getDefiniteNoun, getIndefiniteNoun, onDeselect, onDrop, onFire, onHit, onSelect, onSteppedOn, onThrow, 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 final Serializer<Weakray> SERIALIZER
Type serializer.

Constructor Detail

Weakray

public Weakray()
Constructor.

Method Detail

onThrowEnd

public void onThrowEnd(Event event,
                       Cell cell)
Description copied from interface: Item
Notification that this item, having been thrown, has fallen to the ground at the indicated cell. If you cancel the event, the item will disappear from the board.

Specified by:
onThrowEnd in interface Item
Overrides:
onThrowEnd in class AbstractItem

0.7

2009 Alx Dark