Class Sign

  extended by us.asciiroth.client.core.AbstractPiece
      extended by us.asciiroth.client.terrain.decorators.Decorator
          extended by us.asciiroth.client.terrain.Sign
All Implemented Interfaces:
ColorListener, Piece, Terrain, TerrainProxy

public class Sign
extends Decorator

A sign that will show a message when the player walks onto it. Designed so that the sign can be on any of the traversable terrains.

Field Summary
static Serializer<Sign> SERIALIZER
          Type serializer.
Constructor Summary
Sign(Terrain terrain, java.lang.String message)
Method Summary
 Terrain proxy(Terrain terrain)
Methods inherited from class us.asciiroth.client.terrain.decorators.Decorator
canEnter, canExit, getProxiedTerrain, is, not, onAdjacentTo, onAgentEnter, onAgentExit, onColorEvent, onDrop, onEnter, onExit, onFlyOver, onNotAdjacentTo, onPickup
Methods inherited from class us.asciiroth.client.core.AbstractPiece
getColor, getName, getSymbol
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

Field Detail


public static final Serializer<Sign> SERIALIZER
Type serializer.

Constructor Detail


public Sign(Terrain terrain,
            java.lang.String message)
Method Detail


public Terrain proxy(Terrain terrain)
a new proxy, with the same behavior but wrapping a different terrain


2009 Alx Dark