org.limitless.nmc.Prototype1
Class CommandLeave

java.lang.Object
  extended by org.limitless.nmc.Prototype1.CommandLeave
All Implemented Interfaces:
Command

public class CommandLeave
extends java.lang.Object
implements Command

This causes the character object to exit the scope to a containing scope, if legal. This is legal only in cases where there is a container for the current object that the character can reach. This is highly expiremental, and is one fo the key areas to test using this prototype. See 5.1.2.10 in the prototype_1.html document.

Version:
1.0
Author:
Brian Jones

Constructor Summary
CommandLeave()
           
 
Method Summary
 java.lang.String[] getHelpDetailed()
          Give the long help information.
 java.lang.String getHelpSummary()
          Get the single-line help detail
 void invoke(java.lang.String[] args)
          Process the command
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandLeave

public CommandLeave()
Method Detail

getHelpDetailed

public java.lang.String[] getHelpDetailed()
Description copied from interface: Command
Give the long help information.

Specified by:
getHelpDetailed in interface Command

getHelpSummary

public java.lang.String getHelpSummary()
Description copied from interface: Command
Get the single-line help detail

Specified by:
getHelpSummary in interface Command

invoke

public void invoke(java.lang.String[] args)
Description copied from interface: Command
Process the command

Specified by:
invoke in interface Command


Copyright © 1995, 2004 Limitless Knowledge Association, All Rights Reserved.