org.limitless.nmc.Prototype1
Class CommandDrop

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

public class CommandDrop
extends java.lang.Object
implements Command

This causes an object to leave the inventory of the character and become contained by the inventory of the container that holds the character. This is expirimental also, in that the relationship it plays with shouldn't need to be hard-coded. See 5.1.2.3 in the prototype_1.html document.

Version:
1.0
Author:
Brian Jones

Constructor Summary
CommandDrop()
           
 
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

CommandDrop

public CommandDrop()
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.