C# Class GlobalGameStateManager

显示文件 Open project: mezosaurus/eae-project Class Usage Examples

Public Properties

Property Type Description
AxeManMinigameModifier1 float
AxeManMinigameModifier2 float
CurrentScene SceneEnum
LevelState LevelState,
NPCData NPCData>.IDictionary
PanicTree GameObject
PlayedJohnny bool
PosessionState PosessionState
SoulConsumedTimer float
highscores int[]
originalHeight float
originalWidth float
playerNames string[]

Public Methods

Method Description
LoadNames ( ) : string[]
LoadScores ( ) : int[]
PrepareMatrix ( ) : Matrix4x4
SavePlayerScores ( int highscores, string names ) : void
SendHighscoreToServer ( ) : void

Private Methods

Method Description
AddNPCType ( NPCData>.IDictionary data, NPCSkinType skinType, NPCData, npcData ) : void
PopulateNPCData ( ) : NPCData>.IDictionary
SendSecureMessageToServer ( byte data ) : void

Method Details

LoadNames() public static method

public static LoadNames ( ) : string[]
return string[]

LoadScores() public static method

public static LoadScores ( ) : int[]
return int[]

PrepareMatrix() public static method

public static PrepareMatrix ( ) : Matrix4x4
return Matrix4x4

SavePlayerScores() public static method

public static SavePlayerScores ( int highscores, string names ) : void
highscores int
names string
return void

SendHighscoreToServer() public static method

public static SendHighscoreToServer ( ) : void
return void

Property Details

AxeManMinigameModifier1 public_oe static_oe property

public static float AxeManMinigameModifier1
return float

AxeManMinigameModifier2 public_oe static_oe property

public static float AxeManMinigameModifier2
return float

CurrentScene public_oe static_oe property

public static SceneEnum CurrentScene
return SceneEnum

LevelState public_oe static_oe property

public static LevelState, LevelState
return LevelState,

NPCData public_oe static_oe property

public static IDictionary NPCData
return NPCData>.IDictionary

PanicTree public_oe static_oe property

public static GameObject PanicTree
return GameObject

PlayedJohnny public_oe static_oe property

public static bool PlayedJohnny
return bool

PosessionState public_oe static_oe property

public static PosessionState PosessionState
return PosessionState

SoulConsumedTimer public_oe static_oe property

public static float SoulConsumedTimer
return float

highscores public_oe static_oe property

public static int[] highscores
return int[]

originalHeight public_oe static_oe property

public static float originalHeight
return float

originalWidth public_oe static_oe property

public static float originalWidth
return float

playerNames public_oe static_oe property

public static string[] playerNames
return string[]