us.asciiroth.client.terrain
Class RustyGate
java.lang.Object
us.asciiroth.client.core.AbstractPiece
us.asciiroth.client.terrain.AbstractTerrain
us.asciiroth.client.terrain.RustyGate
- All Implemented Interfaces:
- Piece, Terrain
public class RustyGate
- extends AbstractTerrain
A rusty gate that cannot be opened, but you can still shoot things through it.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SERIALIZER
public static final Serializer<RustyGate> SERIALIZER
- Type serializer.
RustyGate
public RustyGate()
- Constructor.
onEnter
public void onEnter(Event event,
Player player,
Cell cell,
Direction dir)
- Description copied from interface:
Terrain
- Agent attempting to leave the
from
cell, heading
toward the to
cell. The terrain being used is the
terrain of the to
cell. The agent is still in the
from
- Specified by:
onEnter
in interface Terrain
- Overrides:
onEnter
in class AbstractTerrain
onFlyOver
public void onFlyOver(Event event,
Cell cell,
InFlightItem flier)
- Description copied from interface:
Terrain
- Terrain has an item flying over it. If the event is canceled
at this point, the item will fall to the ground on this cell.
- Specified by:
onFlyOver
in interface Terrain
- Overrides:
onFlyOver
in class AbstractTerrain
© 2009 Alx Dark