All Packages Class Hierarchy This Package Previous Next Index
Class key.Room
java.lang.Object
|
+----key.Atom
|
+----key.Container
|
+----key.Scape
|
+----key.Landscape
|
+----key.Room
- public class Room
- extends Landscape
-
ejectFromAction
-
-
enterAction
-
-
MAX_NAME
-
-
staticActions
-
-
Room()
-
-
aspect(Player)
- A players aspect is its description when looked at
-
canMoveInto(Player)
- Only stops a direct trans - not using an exit
-
containsAction(Action)
- Returns true if the action is supported by
this class.
-
countPlayers(int, boolean)
-
-
ejectPlayer(Player)
-
-
evalReadOnlyProperty(ReadOnlyProperty)
- override to return the correct value for the supplied property
make sure you call super.evalReadOnlyProperty if you don't
understand it before returning null
-
exits()
-
-
fullPortrait()
-
-
getAction(String)
- Returns the action corresponding to the
supplied name.
-
getActions()
- Returns a list of the actions supported by
this class.
-
getCalled()
-
-
getDescription()
-
-
getLoginMessage()
-
-
getLogoutMessage()
-
-
portrait()
-
-
relation()
-
-
who(Player)
-
-
with(Player)
-
-
withPlayers(int, boolean, Player, Player)
-
MAX_NAME
public static final int MAX_NAME
staticActions
protected static StringKeyCollection staticActions
ejectFromAction
public static Action ejectFromAction
enterAction
public static Action enterAction
Room
public Room()
evalReadOnlyProperty
public Object evalReadOnlyProperty(ReadOnlyProperty p)
- override to return the correct value for the supplied property
make sure you call super.evalReadOnlyProperty if you don't
understand it before returning null
- Overrides:
- evalReadOnlyProperty in class Scape
aspect
public Paragraph aspect(Player l)
- A players aspect is its description when looked at
portrait
public String portrait()
relation
public String relation()
fullPortrait
public String fullPortrait()
getDescription
public Paragraph getDescription()
getLoginMessage
public String getLoginMessage()
getLogoutMessage
public String getLogoutMessage()
getCalled
public String getCalled()
countPlayers
public String countPlayers(int np,
boolean here)
who
public Paragraph who(Player l)
withPlayers
public String withPlayers(int np,
boolean here,
Player o,
Player targetPlayer)
with
public String with(Player targetPlayer)
exits
public Paragraph exits()
ejectPlayer
public void ejectPlayer(Player p)
canMoveInto
public boolean canMoveInto(Player p)
- Only stops a direct trans - not using an exit
getActions
public Enumeration getActions()
- Returns a list of the actions supported by
this class.
- Overrides:
- getActions in class Container
containsAction
public boolean containsAction(Action a)
- Returns true if the action is supported by
this class.
- Overrides:
- containsAction in class Container
getAction
public Action getAction(String name)
- Returns the action corresponding to the
supplied name. This routine will need to
be overriden by sub-classes using actions.
- Overrides:
- getAction in class Container
All Packages Class Hierarchy This Package Previous Next Index