Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.metacosm.framework.command
Class NewEntity  view NewEntity download NewEntity.java

java.lang.Object
  extended byorg.metacosm.framework.command.NewEntity
All Implemented Interfaces:
PlayerCommand

public final class NewEntity
extends java.lang.Object
implements PlayerCommand

Creates an Entity. syntax: new_entity (place|item|creature) [place_id]
If no place_id is given, current place entity's attribute is set to null. TODO Worlds management


Field Summary
private static java.lang.String help
           
 
Constructor Summary
NewEntity()
           
 
Method Summary
 Result execute(org.metacosm.framework.server.Player player, java.util.ArrayList params)
          Executes the command with the player as author and with parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

help

private static final java.lang.String help
See Also:
Constant Field Values
Constructor Detail

NewEntity

public NewEntity()
Method Detail

execute

public Result execute(org.metacosm.framework.server.Player player,
                      java.util.ArrayList params)
Description copied from interface: PlayerCommand
Executes the command with the player as author and with parameters.

Specified by:
execute in interface PlayerCommand