SceneEditorTerrainEdit

Package: Libraries.Interface.Undo · Inherits from: Libraries.Language.Object, Libraries.Interface.Undo.Edit

The SceneEditorTerrainEdit is one terrain stroke in the scene editor's undo list. It holds the stroke's TerrainStrokeEdit, which puts the ground back or forward, and then has the scene editor redraw the terrain and mark it changed, since the stroke's own edit only changes the terrain's data.

Actions

CanRedo()

Returns

boolean

CanUndo()

Returns

boolean

Create(Libraries.Interface.Controls.Scenes.SceneEditor controller, Libraries.Interface.Controls.Scenes.Items.EditorTerrain terrain, Libraries.Game.Graphics.Worlds.TerrainStrokeEdit strokeEdit)

Sets up the edit.

Parameters

Dispose()

GetRedoName()

Returns

text

GetUndoName()

Returns

text

Redo()

Undo()

Sets up the edit.

Inherited Actions

3 actions from Libraries.Language.Object