1 #ifndef MOVECOMPONENTCOMMAND_H 2 #define MOVECOMPONENTCOMMAND_H 52 virtual bool Execute(
GXemul& gxemul,
const vector<string>& arguments);
61 static void RunUnitTests(
int& nSucceeded,
int& nFailures);
65 #endif // MOVECOMPONENTCOMMAND_H
static void RunUnitTests(int &nSucceeded, int &nFailures)
MoveComponentCommand()
Constructs a MoveComponentCommand.
virtual bool Execute(GXemul &gxemul, const vector< string > &arguments)
Executes the command on a given GXemul instance.
virtual string GetLongDescription() const
Returns a long description/help message for the command.
A Command which moves a Component from one location to another in the component tree.
virtual ~MoveComponentCommand()
virtual string GetShortDescription() const
Returns a short (one-line) description of the command.
A Command is a named function, executed by the CommandInterpreter.