C# Class Swordening.SaveGame

Afficher le fichier Open project: ArghyV/Peliohjelmointi-s2011 Class Usage Examples

Méthodes publiques

Méthode Description
InitiateLoad ( ) : void

Load a saved game.

InitiateSave ( ) : void

Create a new save.

SaveGame ( InGame inGame ) : System

SaveGame constructor.

Private Methods

Méthode Description
LoadFromDevice ( IAsyncResult result ) : void

Loads the save when StorageDevice is ready.

SaveToDevice ( IAsyncResult result ) : void

Writes the new save when StorageDevice is ready.

SerializeMissiles ( ) : List
SerializeMonsters ( ) : List
UnserializeMissiles ( List newMissilesData ) : void
UnserializeMonsters ( List newMonstersData ) : void

Method Details

InitiateLoad() public méthode

Load a saved game.
public InitiateLoad ( ) : void
Résultat void

InitiateSave() public méthode

Create a new save.
public InitiateSave ( ) : void
Résultat void

SaveGame() public méthode

SaveGame constructor.
public SaveGame ( InGame inGame ) : System
inGame InGame InGame ref to get data to save
Résultat System