SceneEditorRiverEdit

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

The SceneEditorRiverEdit is one change to a river in the scene editor's undo list: a river drawn, a point added, moved or removed, a river's settings changed, or a river removed. A river shapes the ground under it, so the change holds both the water before and after it and the ground's own edit, and undoes or redoes them together, as one step.

Actions

Create(Libraries.Interface.Controls.Scenes.SceneEditor controller, Libraries.Interface.Controls.Scenes.Items.EditorTerrain terrain, Libraries.Interface.Controls.Scenes.WaterState before, Libraries.Interface.Controls.Scenes.WaterState after, Libraries.Game.Graphics.Worlds.TerrainStrokeEdit groundEdit, text changeName)

Sets up the edit.

Parameters

Dispose()

GetRedoName()

Returns

text

GetUndoName()

Returns

text

Redo()

Undo()

Sets up the edit.

Inherited Actions

2 actions from Libraries.Interface.Undo.Edit
3 actions from Libraries.Language.Object