7 #ifndef CAFU_MAPEDITOR_COMMAND_ADD_COMPONENT_HPP_INCLUDED
8 #define CAFU_MAPEDITOR_COMMAND_ADD_COMPONENT_HPP_INCLUDED
10 #include "../../CommandPattern.hpp"
11 #include "Templates/Pointer.hpp"
14 namespace cf {
namespace GameSys {
class ComponentBaseT; } }
15 namespace cf {
namespace GameSys {
class EntityT; } }
38 const unsigned long m_Index;
wxString GetName() const
Returns the name (a description) of the command.
Definition: AddComponent.cpp:51
This class represents a CaWE "map" document.
Definition: MapDocument.hpp:45
bool Do()
This method executes the command.
Definition: AddComponent.cpp:26
This class represents a general command for implementing modifications to the applications document...
Definition: CommandPattern.hpp:30
void Undo()
This method un-does the command.
Definition: AddComponent.cpp:39
Definition: AddComponent.hpp:21