C# Class Game.Minigames

List of properties of all minigames.
Inheritance: UnityEngine.MonoBehaviour
Mostrar archivo Open project: BrainProject/UnityTemp

Public Methods

Method Description
GetMinigame ( string minigameName ) : MinigameProperties
GetMinigamesWithHelp ( ) : List
GetPlayed ( string minigameName ) : bool
IsWithHelp ( string minigameName ) : bool
ResetStatistics ( ) : void
SetPlayed ( string minigameName, int diff ) : void

Sets the minigame status to "played". Should be called from individual mini-games when gameProps itself starts...

SetPlayedWithHelp ( string minigameName ) : void

Sets the "played" flag to true in order the minigame help doesn't show up on startup anymore.

SetSuccessfullyPlayed ( string minigameName, int diff ) : void
Start ( ) : void
add ( MinigameProperties newgame ) : void
printStatisticsToFile ( ) : void

Private Methods

Method Description
loadConfigurationsfromFile ( ) : void

Method Details

GetMinigame() public method

public GetMinigame ( string minigameName ) : MinigameProperties
minigameName string
return MinigameProperties

GetMinigamesWithHelp() public method

public GetMinigamesWithHelp ( ) : List
return List

GetPlayed() public method

public GetPlayed ( string minigameName ) : bool
minigameName string
return bool

IsWithHelp() public method

public IsWithHelp ( string minigameName ) : bool
minigameName string
return bool

ResetStatistics() public method

public ResetStatistics ( ) : void
return void

SetPlayed() public method

Sets the minigame status to "played". Should be called from individual mini-games when gameProps itself starts...
public SetPlayed ( string minigameName, int diff ) : void
minigameName string name of minigame
diff int difficulty
return void

SetPlayedWithHelp() public method

Sets the "played" flag to true in order the minigame help doesn't show up on startup anymore.
public SetPlayedWithHelp ( string minigameName ) : void
minigameName string Minigame name.
return void

SetSuccessfullyPlayed() public method

public SetSuccessfullyPlayed ( string minigameName, int diff ) : void
minigameName string
diff int
return void

Start() public method

public Start ( ) : void
return void

add() public method

public add ( MinigameProperties newgame ) : void
newgame MinigameProperties
return void

printStatisticsToFile() public method

public printStatisticsToFile ( ) : void
return void