us.asciiroth.client.terrain
Class Cloud
java.lang.Object
us.asciiroth.client.core.AbstractPiece
us.asciiroth.client.terrain.AbstractTerrain
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.
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 java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SERIALIZER
public static final Serializer<Cloud> SERIALIZER
- Type serializer.
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
© 2009 Alx Dark