17 virtual bool execute();
18 virtual bool reverse();
19 //virtual std::string getCommandType() = 0; // utiliser un dynamic_cast plutot
20 void addSubCommand(Command* command);
22 virtual bool localExecute() = 0;
23 virtual bool localReverse() = 0;
24 std::list<Command*> _subCommands;
31 void add(Command* command);
35 std::stack<Command*> _commandsDone;
36 std::stack<Command*> _commandsUndone;