7 #ifndef CAFU_COMMAND_DELETE_HPP_INCLUDED
8 #define CAFU_COMMAND_DELETE_HPP_INCLUDED
10 #include "../../CommandPattern.hpp"
11 #include "Templates/Pointer.hpp"
14 namespace cf {
namespace GameSys {
class EntityT; } }
15 namespace MapEditor {
class CompMapEntityT; }
This class represents a CaWE "map" document.
Definition: MapDocument.hpp:45
CommandDeleteT(MapDocumentT &MapDoc, MapElementT *DeleteElem)
Constructor to delete an individual object.
Definition: Delete.cpp:19
This class adds no functionality of its own, but only exists for proper type separation.
Definition: MapPrimitive.hpp:21
~CommandDeleteT()
Destructor.
Definition: Delete.cpp:139
bool Do()
This method executes the command.
Definition: Delete.cpp:154
Definition: Select.hpp:18
void Undo()
This method un-does the command.
Definition: Delete.cpp:196
Definition: Delete.hpp:22
wxString GetName() const
Returns the name (a description) of the command.
Definition: Delete.cpp:224
This class represents a general command for implementing modifications to the applications document...
Definition: CommandPattern.hpp:30
This is the base class for all elements ("objects") that can exist in a map.
Definition: MapElement.hpp:57