All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class key.commands.Leave

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

public class Leave
extends ChangeRoom
Leave 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 CANNOT

Constructor Index

 o Leave()

Method Index

 o noSuchRoom(Player, InteractiveConnection)
Pick a random public room

Variables

 o CANNOT
 public static final String CANNOT

Constructors

 o Leave
 public Leave()

Methods

 o noSuchRoom
 protected Room noSuchRoom(Player p,
                           InteractiveConnection ic)
Pick a random public room

Overrides:
noSuchRoom in class ChangeRoom

All Packages  Class Hierarchy  This Package  Previous  Next  Index