us.asciiroth.client.terrain
Class Altar

java.lang.Object
  extended by us.asciiroth.client.core.AbstractPiece
      extended by us.asciiroth.client.terrain.AbstractTerrain
          extended by 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.


Field Summary
static Serializer<Altar> SERIALIZER
          Typer serializer.
 
Constructor Summary
Altar(Direction direction)
          Constructor.
 
Method Summary
 
Methods inherited from class us.asciiroth.client.terrain.AbstractTerrain
canEnter, canExit, onAdjacentTo, onAgentEnter, onAgentExit, onDrop, 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<Altar> SERIALIZER
Typer serializer.

Constructor Detail

Altar

public Altar(Direction direction)
Constructor.

Parameters:
direction -

0.7

2009 Alx Dark