us.asciiroth.client.terrain
Class Altar
java.lang.Object
us.asciiroth.client.core.AbstractPiece
us.asciiroth.client.terrain.AbstractTerrain
us.asciiroth.client.terrain.Altar
- All Implemented Interfaces:
- Piece, Terrain
public class Altar
- extends AbstractTerrain
An altar. Unlike Nethack, this altar doesn't do anything, it's purely ornamental.
It's a good place to put an important item in the game, to give it a little more
pizzaz (and of course, utility terrains can be used to create an altar that
actually does something).
A full altar on the map consists of three altar pieces, with a direction of WEST,
NONE and EAST, arranged horizontally. The appearance is a lower-case pi symbol
between two brackets facing inward toward the pi symbol.
Methods inherited from class us.asciiroth.client.terrain.AbstractTerrain |
canEnter, canExit, onAdjacentTo, onAgentEnter, onAgentExit, onDrop, onEnter, onExit, onFlyOver, onNotAdjacentTo, onPickup |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SERIALIZER
public static final Serializer<Altar> SERIALIZER
- Typer serializer.
Altar
public Altar(Direction direction)
- Constructor.
- Parameters:
direction
-
© 2009 Alx Dark