org.annotation.wordfreak.command
Class MoveCommand

java.lang.Object
  extended byorg.annotation.wordfreak.command.MoveCommand
All Implemented Interfaces:
Command
Direct Known Subclasses:
ContractCommand

public class MoveCommand
extends java.lang.Object
implements Command


Constructor Summary
MoveCommand(Annotation a, Annotation b)
           
MoveCommand(Annotation a, Annotation b, java.lang.String c)
           
 
Method Summary
 void execute()
           
 java.lang.String getName()
           
 java.lang.Object getResult()
           
 void reexecute()
           
 void unexecute()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MoveCommand

public MoveCommand(Annotation a,
                   Annotation b,
                   java.lang.String c)

MoveCommand

public MoveCommand(Annotation a,
                   Annotation b)
Method Detail

execute

public void execute()
Specified by:
execute in interface Command

unexecute

public void unexecute()
Specified by:
unexecute in interface Command

reexecute

public void reexecute()
Specified by:
reexecute in interface Command

getName

public java.lang.String getName()
Specified by:
getName in interface Command

getResult

public java.lang.Object getResult()
Specified by:
getResult in interface Command


Copyright © 2004 Thomas Morton and Jeremy LaCivita. All Rights Reserved.