7 #ifndef CAFU_COMMAND_NEW_ENTITY_HPP_INCLUDED
8 #define CAFU_COMMAND_NEW_ENTITY_HPP_INCLUDED
10 #include "../../CommandPattern.hpp"
11 #include "Templates/Pointer.hpp"
14 namespace cf {
namespace GameSys {
class EntityT; } }
This class represents a CaWE "map" document.
Definition: MapDocument.hpp:45
CommandNewEntityT(MapDocumentT &MapDoc, IntrusivePtrT< cf::GameSys::EntityT > Entity, IntrusivePtrT< cf::GameSys::EntityT > Parent, bool SetSel)
The constructor.
Definition: NewEntity.cpp:20
~CommandNewEntityT()
The destructor.
Definition: NewEntity.cpp:41
Definition: Select.hpp:18
void Undo()
This method un-does the command.
Definition: NewEntity.cpp:81
bool Do()
This method executes the command.
Definition: NewEntity.cpp:51
wxString GetName() const
Returns the name (a description) of the command.
Definition: NewEntity.cpp:99
This class represents a general command for implementing modifications to the applications document...
Definition: CommandPattern.hpp:30
This commands inserts a new entity into the map.
Definition: NewEntity.hpp:20
Definition: Renderer.hpp:16