C# Class TuxedoBerries.ScenePanel.Controllers.SceneHistory

Scene history. Keeps the record of the scenes.
Mostrar archivo Open project: TuxedoBerries/ScenePanel Class Usage Examples

Public Methods

Method Description
Back ( ) : ISceneFileEntity

Go back in the stack and restack the element in the Forward histoy.

Back ( bool restack ) : ISceneFileEntity

Go back in the stack. If restack is tryu, restack the element in the Forward histoy.

Clear ( ) : void

Clear this instance.

Forward ( ) : ISceneFileEntity

Go Gorward.

GetBackStack ( ) : string[]

Gets the Back stack as an array.

GetForwardStack ( ) : string[]

Gets the forward stack as an array.

Load ( ) : void
Push ( ISceneFileEntity scene ) : void

Push the specified scene.

Save ( ) : void
SceneHistory ( ) : System.Collections.Generic

Private Methods

Method Description
ClearStringCache ( ) : void
LoadHistory ( string name, Stack stack ) : void
SaveHistory ( string name, Stack stack ) : void

Method Details

Back() public method

Go back in the stack and restack the element in the Forward histoy.
public Back ( ) : ISceneFileEntity
return ISceneFileEntity

Back() public method

Go back in the stack. If restack is tryu, restack the element in the Forward histoy.
public Back ( bool restack ) : ISceneFileEntity
restack bool If set to true restack.
return ISceneFileEntity

Clear() public method

Clear this instance.
public Clear ( ) : void
return void

Forward() public method

Go Gorward.
public Forward ( ) : ISceneFileEntity
return ISceneFileEntity

GetBackStack() public method

Gets the Back stack as an array.
public GetBackStack ( ) : string[]
return string[]

GetForwardStack() public method

Gets the forward stack as an array.
public GetForwardStack ( ) : string[]
return string[]

Load() public method

public Load ( ) : void
return void

Push() public method

Push the specified scene.
public Push ( ISceneFileEntity scene ) : void
scene ISceneFileEntity Scene.
return void

Save() public method

public Save ( ) : void
return void

SceneHistory() public method

public SceneHistory ( ) : System.Collections.Generic
return System.Collections.Generic