com.tootsville.game
Class CastleDungeon

java.lang.Object
  extended by org.starhope.appius.sql.SQLPeerDatum
      extended by org.starhope.appius.game.GameEvent
          extended by org.starhope.appius.game.maze.MazeGame
              extended by com.tootsville.game.CastleDungeon
All Implemented Interfaces:
Serializable, Comparable<Object>, RoomListener, AcceptsMetronomeTicks, HasName

public class CastleDungeon
extends MazeGame

WRITEME

Author:
brpocock@star-hope.org
See Also:
Serialized Form

Nested Class Summary
static class CastleDungeon.CastleDungeonRoom
          WRITEME: Document this type.
 
Field Summary
private static long serialVersionUID
          WRITEME: Document this brpocock@star-hope.org
 
Fields inherited from class org.starhope.appius.game.GameEvent
freezeTag, gameCode, gameState, players, rooms, scores, scoreWatchRooms
 
Constructor Summary
CastleDungeon(Zone z)
          WRITEME: Document this constructor brpocock@star-hope.org
 
Method Summary
protected  void addEntrance()
          WRITEME: Document this method brpocock@star-hope.org
 String getGameEventPrefix()
          Get the prefix to be applied to event types for this game
static String getMonikerPrefix()
          WRITEME: Document this method brpocock@star-hope.org
 String getName()
          Return a user-visible, unique name for this class.
protected  MazeRoom spawnRoom(int i)
          new MazeRoom (getZone (), i); WRITEME: Document this method brpocock@star-hope.org
 
Methods inherited from class org.starhope.appius.game.maze.MazeGame
acceptGameAction, acceptOutOfBandMessage, acceptPublicMessage, flush, tick
 
Methods inherited from class org.starhope.appius.game.GameEvent
acceptCommand, acceptCommand, acceptGameStateChange, acceptObjectJoinRoom, acceptObjectPartRoom, acceptPublicMessage, acceptUserVariableUpdate, changeGameState, decrementScore, destroySelf, disconnect, equals, equals, getCacheUniqueID, getCountdownDuration, getEveryone, getGameCode, getGameDuration, getGameShortName, getLeaderBonus, getPlayers, getRoom, getRooms, getScoreWatchRooms, getSpectators, getTimer, getZone, hashCode, incrementScore, propagateGameStateChange, resetPlayers, sendEndEvents, sendStartEvents, set, toString, updateRoomVars, updateScore, updateScores
 
Methods inherited from class org.starhope.appius.sql.SQLPeerDatum
changed, compareTo, findInCache, get, saveInCache, set, toJSON
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
WRITEME: Document this brpocock@star-hope.org

See Also:
Constant Field Values
Constructor Detail

CastleDungeon

public CastleDungeon(Zone z)
WRITEME: Document this constructor brpocock@star-hope.org

Parameters:
z - WRITEME
Method Detail

getMonikerPrefix

public static String getMonikerPrefix()
WRITEME: Document this method brpocock@star-hope.org

Returns:
WRITEME

addEntrance

protected void addEntrance()
Description copied from class: MazeGame
WRITEME: Document this method brpocock@star-hope.org

Specified by:
addEntrance in class MazeGame
See Also:
MazeGame.addEntrance()

getGameEventPrefix

public String getGameEventPrefix()
Description copied from class: GameEvent
Get the prefix to be applied to event types for this game

Specified by:
getGameEventPrefix in class GameEvent
Returns:
the string prefix used to find event types for this game
See Also:
GameEvent.getGameEventPrefix()

getName

public String getName()
Description copied from interface: HasName
Return a user-visible, unique name for this class. This name may not necessarily be globally unique, but must be unique across all objects of this class. For example, having both a User and a Zone named “Lightning” is acceptable, but there may not be two users with the same name.

Returns:
a user-visible string name for this instance
See Also:
HasName.getName()

spawnRoom

protected MazeRoom spawnRoom(int i)
Description copied from class: MazeGame
new MazeRoom (getZone (), i); WRITEME: Document this method brpocock@star-hope.org

Specified by:
spawnRoom in class MazeGame
Parameters:
i - WRITEME
Returns:
WRITEME
See Also:
MazeGame.spawnRoom(int)