C# 클래스 Swordening.SaveGame

파일 보기 프로젝트 열기: ArghyV/Peliohjelmointi-s2011 1 사용 예제들

공개 메소드들

메소드 설명
InitiateLoad ( ) : void

Load a saved game.

InitiateSave ( ) : void

Create a new save.

SaveGame ( InGame inGame ) : System

SaveGame constructor.

비공개 메소드들

메소드 설명
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

메소드 상세

InitiateLoad() 공개 메소드

Load a saved game.
public InitiateLoad ( ) : void
리턴 void

InitiateSave() 공개 메소드

Create a new save.
public InitiateSave ( ) : void
리턴 void

SaveGame() 공개 메소드

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