Torque3D Documentation / _generateds / ForestUndoAction

ForestUndoAction

Engine/source/forest/editor/forestUndo.h

More...

Private Types

Parent 

Public Functions

ForestUndoAction(const Resource< ForestData > & data, ForestEditorCtrl * editor, const char * description)
undo()

Implement these methods to perform your specific undo & redo tasks.

Detailed Description

Private Types

typedef UndoAction Parent 

Protected Attributes

Resource< ForestData > mData 
ForestEditorCtrl * mEditor 
Vector< ForestItem > mItems 

Public Functions

ForestUndoAction(const Resource< ForestData > & data, ForestEditorCtrl * editor, const char * description)

redo()

Reimplemented from: UndoAction

Reimplemented by: ForestCreateUndoAction, ForestDeleteUndoAction, ForestUpdateAction

undo()

Reimplemented from: UndoAction

Reimplemented by: ForestCreateUndoAction, ForestDeleteUndoAction, ForestUpdateAction