C# Class GameCommon.Methods

Afficher le fichier Open project: nzhul/TelerikAcademy

Méthodes publiques

Méthode Description
DisplayCombo ( int bonus, int x, int y ) : void
DrawMenu ( string playerName, bool gameoverFlag ) : void
DrawProgress ( int score, int maxScore, char progressBarCharacter, ConsoleColor color, int x, int y ) : void
DrawProgress ( int score, int maxScore, int x, int y ) : void
GetBoxesToRemove ( bool boxesToRemove ) : int
GetHighestScores ( string filePath ) : List
LoadGame ( string filePath, PlayField playField, Player player ) : void
LoadPlayer ( ) : string
SaveGame ( string filePath, PlayField playField, Player player ) : void
SaveHighestScores ( string filePath, Player playerCurrent, int topScoreCount ) : void
ScoreField ( int x, int y, Player player ) : void
Settings ( int x, int y ) : void
ShowTopScores ( string HIGHSCOREFILEPATH ) : void
VisualizeSound ( bool soundflag ) : void
isEmpty ( bool boxesToRemove ) : bool

Method Details

DisplayCombo() public static méthode

public static DisplayCombo ( int bonus, int x, int y ) : void
bonus int
x int
y int
Résultat void

DrawMenu() public static méthode

public static DrawMenu ( string playerName, bool gameoverFlag ) : void
playerName string
gameoverFlag bool
Résultat void

DrawProgress() public static méthode

public static DrawProgress ( int score, int maxScore, char progressBarCharacter, ConsoleColor color, int x, int y ) : void
score int
maxScore int
progressBarCharacter char
color ConsoleColor
x int
y int
Résultat void

DrawProgress() public static méthode

public static DrawProgress ( int score, int maxScore, int x, int y ) : void
score int
maxScore int
x int
y int
Résultat void

GetBoxesToRemove() public static méthode

public static GetBoxesToRemove ( bool boxesToRemove ) : int
boxesToRemove bool
Résultat int

GetHighestScores() public static méthode

public static GetHighestScores ( string filePath ) : List
filePath string
Résultat List

LoadGame() public static méthode

public static LoadGame ( string filePath, PlayField playField, Player player ) : void
filePath string
playField PlayField
player Player
Résultat void

LoadPlayer() public static méthode

public static LoadPlayer ( ) : string
Résultat string

SaveGame() public static méthode

public static SaveGame ( string filePath, PlayField playField, Player player ) : void
filePath string
playField PlayField
player Player
Résultat void

SaveHighestScores() public static méthode

public static SaveHighestScores ( string filePath, Player playerCurrent, int topScoreCount ) : void
filePath string
playerCurrent Player
topScoreCount int
Résultat void

ScoreField() public static méthode

public static ScoreField ( int x, int y, Player player ) : void
x int
y int
player Player
Résultat void

Settings() public static méthode

public static Settings ( int x, int y ) : void
x int
y int
Résultat void

ShowTopScores() public static méthode

public static ShowTopScores ( string HIGHSCOREFILEPATH ) : void
HIGHSCOREFILEPATH string
Résultat void

VisualizeSound() public static méthode

public static VisualizeSound ( bool soundflag ) : void
soundflag bool
Résultat void

isEmpty() public static méthode

public static isEmpty ( bool boxesToRemove ) : bool
boxesToRemove bool
Résultat bool