All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class key.commands.ChangeRoom

java.lang.Object
   |
   +----key.Atom
           |
           +----key.Command
                   |
                   +----key.commands.ChangeRoom

public class ChangeRoom
extends Command
ChangeRoom returns you to the last public room you were in. It will mainly be used to leave someone's rooms (including your own)


Variable Index

 o playerCode

Constructor Index

 o ChangeRoom()

Method Index

 o noSuchRoom(Player, InteractiveConnection)
 o run(Player, StringTokenizer, String, ModalCommand, InteractiveConnection, Flags)
If this method is not overridden, it calls the others.

Variables

 o playerCode
 public static final Character playerCode

Constructors

 o ChangeRoom
 public ChangeRoom()

Methods

 o run
 public void run(Player p,
                 StringTokenizer args,
                 String fullLine,
                 ModalCommand caller,
                 InteractiveConnection ic,
                 Flags flags) throws IOException
If this method is not overridden, it calls the others.

Overrides:
run in class Command
 o noSuchRoom
 protected Room noSuchRoom(Player p,
                           InteractiveConnection ic)

All Packages  Class Hierarchy  This Package  Previous  Next  Index