7 #ifndef CAFU_MAPEDITOR_COMMAND_DELETE_COMPONENT_HPP_INCLUDED
8 #define CAFU_MAPEDITOR_COMMAND_DELETE_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;
This class represents a CaWE "map" document.
Definition: MapDocument.hpp:45
wxString GetName() const
Returns the name (a description) of the command.
Definition: DeleteComponent.cpp:52
void Undo()
This method un-does the command.
Definition: DeleteComponent.cpp:39
bool Do()
This method executes the command.
Definition: DeleteComponent.cpp:26
This class represents a general command for implementing modifications to the applications document...
Definition: CommandPattern.hpp:30
Definition: DeleteComponent.hpp:21