C# Class Swordening.SaveGame

Datei anzeigen Open project: ArghyV/Peliohjelmointi-s2011 Class Usage Examples

Public Methods

Method Description
InitiateLoad ( ) : void

Load a saved game.

InitiateSave ( ) : void

Create a new save.

SaveGame ( InGame inGame ) : System

SaveGame constructor.

Private Methods

Method 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 method

Load a saved game.
public InitiateLoad ( ) : void
return void

InitiateSave() public method

Create a new save.
public InitiateSave ( ) : void
return void

SaveGame() public method

SaveGame constructor.
public SaveGame ( InGame inGame ) : System
inGame InGame InGame ref to get data to save
return System