C# Class GameProgress, SlashRunner

Datei anzeigen Open project: matthewAURA/SlashRunner Class Usage Examples

Public Methods

Method Description
AreAllLevelsCleared ( ) : bool
FromBytes ( byte b ) : GameProgress,
FromString ( string s ) : GameProgress,
GameProgress ( ) : System
LoadFromDisk ( ) : GameProgress,
MergeWith ( GameProgress, other ) : void
SaveToDisk ( ) : void
SetLevelProgress ( int level, int score, int stars ) : void
ToBytes ( ) : byte[]
ToString ( ) : string

Method Details

AreAllLevelsCleared() public method

public AreAllLevelsCleared ( ) : bool
return bool

FromBytes() public static method

public static FromBytes ( byte b ) : GameProgress,
b byte
return GameProgress,

FromString() public static method

public static FromString ( string s ) : GameProgress,
s string
return GameProgress,

GameProgress() public method

public GameProgress ( ) : System
return System

LoadFromDisk() public static method

public static LoadFromDisk ( ) : GameProgress,
return GameProgress,

MergeWith() public method

public MergeWith ( GameProgress, other ) : void
other GameProgress,
return void

SaveToDisk() public method

public SaveToDisk ( ) : void
return void

SetLevelProgress() public method

public SetLevelProgress ( int level, int score, int stars ) : void
level int
score int
stars int
return void

ToBytes() public method

public ToBytes ( ) : byte[]
return byte[]

ToString() public method

public ToString ( ) : string
return string