C# Class TuxedoBerries.ScenePanel.Controllers.SceneHistory

Scene history. Keeps the record of the scenes.
Afficher le fichier Open project: TuxedoBerries/ScenePanel Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
ClearStringCache ( ) : void
LoadHistory ( string name, Stack stack ) : void
SaveHistory ( string name, Stack stack ) : void

Method Details

Back() public méthode

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

Back() public méthode

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.
Résultat ISceneFileEntity

Clear() public méthode

Clear this instance.
public Clear ( ) : void
Résultat void

Forward() public méthode

Go Gorward.
public Forward ( ) : ISceneFileEntity
Résultat ISceneFileEntity

GetBackStack() public méthode

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

GetForwardStack() public méthode

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

Load() public méthode

public Load ( ) : void
Résultat void

Push() public méthode

Push the specified scene.
public Push ( ISceneFileEntity scene ) : void
scene ISceneFileEntity Scene.
Résultat void

Save() public méthode

public Save ( ) : void
Résultat void

SceneHistory() public méthode

public SceneHistory ( ) : System.Collections.Generic
Résultat System.Collections.Generic