7 #ifndef CAFU_COMMAND_APPLY_MATERIAL_HPP_INCLUDED
8 #define CAFU_COMMAND_APPLY_MATERIAL_HPP_INCLUDED
10 #include "../../CommandPattern.hpp"
This class represents a CaWE "map" document.
Definition: MapDocument.hpp:45
wxString GetName() const
Returns the name (a description) of the command.
Definition: ApplyMaterial.cpp:120
bool Do()
This method executes the command.
Definition: ApplyMaterial.cpp:67
Definition: ApplyMaterial.hpp:21
Definition: MapBrush.hpp:15
The TerrainT class represents a terrain in a map.
Definition: MapTerrain.hpp:22
This class represents a bezier patch.
Definition: MapBezierPatch.hpp:44
Definition: EditorMaterial.hpp:21
void Undo()
This method un-does the command.
Definition: ApplyMaterial.cpp:94
CommandApplyMaterialT(MapDocumentT &MapDoc, const ArrayT< MapElementT * > &Objects, EditorMaterialI *Material)
Constructor to apply the given material to an array of objects.
Definition: ApplyMaterial.cpp:15
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