DDraceNetwork Docs
CEditorBrushDrawAction Class Reference

#include <editor_actions.h>

Inheritance diagram for CEditorBrushDrawAction:
[legend]
Collaboration diagram for CEditorBrushDrawAction:
[legend]

Public Member Functions

 CEditorBrushDrawAction (CEditor *pEditor, int Group)
 
void Undo () override
 
void Redo () override
 
bool IsEmpty () override
 
- Public Member Functions inherited from IEditorAction
 IEditorAction (CEditor *pEditor)
 
 IEditorAction ()=default
 
virtual ~IEditorAction ()=default
 
virtual void Undo ()=0
 
virtual void Redo ()=0
 
virtual bool IsEmpty ()
 
const char * DisplayText () const
 

Private Member Functions

void Apply (bool Undo)
 
void SetInfos ()
 

Private Attributes

int m_Group
 
std::vector< std::pair< int, EditorTileStateChangeHistory< STileStateChange > > > m_vTileChanges
 
EditorTileStateChangeHistory< STeleTileStateChangem_TeleTileChanges
 
EditorTileStateChangeHistory< SSpeedupTileStateChangem_SpeedupTileChanges
 
EditorTileStateChangeHistory< SSwitchTileStateChangem_SwitchTileChanges
 
EditorTileStateChangeHistory< STuneTileStateChangem_TuneTileChanges
 
int m_TotalTilesDrawn
 
int m_TotalLayers
 

Additional Inherited Members

- Protected Attributes inherited from IEditorAction
CEditorm_pEditor
 
char m_aDisplayText [256]
 

Constructor & Destructor Documentation

◆ CEditorBrushDrawAction()

CEditorBrushDrawAction::CEditorBrushDrawAction ( CEditor pEditor,
int  Group 
)

Member Function Documentation

◆ Apply()

void CEditorBrushDrawAction::Apply ( bool  Undo)
private

◆ IsEmpty()

bool CEditorBrushDrawAction::IsEmpty ( )
overridevirtual

Reimplemented from IEditorAction.

◆ Redo()

void CEditorBrushDrawAction::Redo ( )
overridevirtual

Implements IEditorAction.

◆ SetInfos()

void CEditorBrushDrawAction::SetInfos ( )
private

◆ Undo()

void CEditorBrushDrawAction::Undo ( )
overridevirtual

Implements IEditorAction.

Member Data Documentation

◆ m_Group

int CEditorBrushDrawAction::m_Group
private

◆ m_SpeedupTileChanges

EditorTileStateChangeHistory<SSpeedupTileStateChange> CEditorBrushDrawAction::m_SpeedupTileChanges
private

◆ m_SwitchTileChanges

EditorTileStateChangeHistory<SSwitchTileStateChange> CEditorBrushDrawAction::m_SwitchTileChanges
private

◆ m_TeleTileChanges

EditorTileStateChangeHistory<STeleTileStateChange> CEditorBrushDrawAction::m_TeleTileChanges
private

◆ m_TotalLayers

int CEditorBrushDrawAction::m_TotalLayers
private

◆ m_TotalTilesDrawn

int CEditorBrushDrawAction::m_TotalTilesDrawn
private

◆ m_TuneTileChanges

EditorTileStateChangeHistory<STuneTileStateChange> CEditorBrushDrawAction::m_TuneTileChanges
private

◆ m_vTileChanges

std::vector<std::pair<int, EditorTileStateChangeHistory<STileStateChange> > > CEditorBrushDrawAction::m_vTileChanges
private

The documentation for this class was generated from the following files: