C# Class Fungus.SaveHistory

Afficher le fichier Open project: snozbot/fungus Class Usage Examples

Méthodes publiques

Méthode Description
AddSavePoint ( string savePointKey, string savePointDescription ) : void

Creates a new Save Point using a key and description, and adds it to the Save History.

Clear ( ) : void

Clears all Save Points.

ClearRewoundSavePoints ( ) : void

Clears rewound Save Points only. The main Save Point list is not changed.

FastForward ( ) : void

Fast forwards to the next Save Point in the Save History. The most recently rewound Save Point is moved back to the main list of save points.

GetDebugInfo ( ) : string
LoadLatestSavePoint ( ) : void

Loads the latest Save Point.

Rewind ( ) : void

Rewinds to the previous Save Point in the Save History. The latest Save Point is moved to a seperate list of rewound save points.

Method Details

AddSavePoint() public méthode

Creates a new Save Point using a key and description, and adds it to the Save History.
public AddSavePoint ( string savePointKey, string savePointDescription ) : void
savePointKey string
savePointDescription string
Résultat void

Clear() public méthode

Clears all Save Points.
public Clear ( ) : void
Résultat void

ClearRewoundSavePoints() public méthode

Clears rewound Save Points only. The main Save Point list is not changed.
public ClearRewoundSavePoints ( ) : void
Résultat void

FastForward() public méthode

Fast forwards to the next Save Point in the Save History. The most recently rewound Save Point is moved back to the main list of save points.
public FastForward ( ) : void
Résultat void

GetDebugInfo() public méthode

public GetDebugInfo ( ) : string
Résultat string

LoadLatestSavePoint() public méthode

Loads the latest Save Point.
public LoadLatestSavePoint ( ) : void
Résultat void

Rewind() public méthode

Rewinds to the previous Save Point in the Save History. The latest Save Point is moved to a seperate list of rewound save points.
public Rewind ( ) : void
Résultat void