C# Класс TuxedoBerries.ScenePanel.Controllers.SceneHistory

Scene history. Keeps the record of the scenes.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
ClearStringCache ( ) : void
LoadHistory ( string name, Stack stack ) : void
SaveHistory ( string name, Stack stack ) : void

Описание методов

Back() публичный Метод

Go back in the stack and restack the element in the Forward histoy.
public Back ( ) : ISceneFileEntity
Результат ISceneFileEntity

Back() публичный Метод

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.
Результат ISceneFileEntity

Clear() публичный Метод

Clear this instance.
public Clear ( ) : void
Результат void

Forward() публичный Метод

Go Gorward.
public Forward ( ) : ISceneFileEntity
Результат ISceneFileEntity

GetBackStack() публичный Метод

Gets the Back stack as an array.
public GetBackStack ( ) : string[]
Результат string[]

GetForwardStack() публичный Метод

Gets the forward stack as an array.
public GetForwardStack ( ) : string[]
Результат string[]

Load() публичный Метод

public Load ( ) : void
Результат void

Push() публичный Метод

Push the specified scene.
public Push ( ISceneFileEntity scene ) : void
scene ISceneFileEntity Scene.
Результат void

Save() публичный Метод

public Save ( ) : void
Результат void

SceneHistory() публичный Метод

public SceneHistory ( ) : System.Collections.Generic
Результат System.Collections.Generic