7 #ifndef CAFU_COMMAND_CARVE_HPP_INCLUDED
8 #define CAFU_COMMAND_CARVE_HPP_INCLUDED
10 #include "../../CommandPattern.hpp"
11 #include "Templates/Pointer.hpp"
14 namespace MapEditor {
class CompMapEntityT; }
This class represents a CaWE "map" document.
Definition: MapDocument.hpp:45
void Undo()
This method un-does the command.
Definition: Carve.cpp:188
This class represents groups.
Definition: Group.hpp:20
wxString GetName() const
Returns the name (a description) of the command.
Definition: Carve.cpp:226
Definition: MapBrush.hpp:15
CommandCarveT(MapDocumentT &MapDoc, const ArrayT< const MapBrushT * > &Carvers)
Constructor to carve an array of objects from the world.
Definition: Carve.cpp:19
Definition: Delete.hpp:22
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
bool Do()
This method executes the command.
Definition: Carve.cpp:48