us.asciiroth.client.terrain
Class Cloud

java.lang.Object
  extended by us.asciiroth.client.core.AbstractPiece
      extended by us.asciiroth.client.terrain.AbstractTerrain
          extended by us.asciiroth.client.terrain.Cloud
All Implemented Interfaces:
Piece, Terrain

public class Cloud
extends AbstractTerrain

White, fluffy, rectangular clouds you can walk on. If you drop an item on a cloud, it'll fall right through and be lost.


Field Summary
static Serializer<Cloud> SERIALIZER
          Type serializer.
 
Method Summary
 void onDrop(Event event, Cell cell, Item item)
          Item is going to drop onto the terrain at this point.
 
Methods inherited from class us.asciiroth.client.terrain.AbstractTerrain
canEnter, canExit, onAdjacentTo, onAgentEnter, onAgentExit, onEnter, onExit, onFlyOver, onNotAdjacentTo, onPickup
 
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<Cloud> SERIALIZER
Type serializer.

Method Detail

onDrop

public void onDrop(Event event,
                   Cell cell,
                   Item item)
Description copied from interface: Terrain
Item is going to drop onto the terrain at this point. If the event if canceled at this point, then the item will simply disappear from the board.

Specified by:
onDrop in interface Terrain
Overrides:
onDrop in class AbstractTerrain

0.7

2009 Alx Dark