C# Class PacManDuel.Models.Player

Afficher le fichier Open project: EntelectChallenge/2014-PacMan-TestHarness Class Usage Examples

Méthodes publiques

Méthode Description
AddToScore ( int score ) : void
GetCurrentPosition ( ) : Point
GetMove ( Maze maze, String outputFilePath, StreamWriter logFile ) : Maze
GetPlayerName ( ) : String
GetPlayerPath ( ) : String
GetScore ( ) : int
GetSymbol ( ) : char
IsAllowedPoisonPillDrop ( ) : bool
Player ( String playerName, String workingPath, String executableFileName, char symbol ) : System
SetCurrentPosition ( Point coordinate ) : void
UsePoisonPill ( ) : void

Method Details

AddToScore() public méthode

public AddToScore ( int score ) : void
score int
Résultat void

GetCurrentPosition() public méthode

public GetCurrentPosition ( ) : Point
Résultat Point

GetMove() public méthode

public GetMove ( Maze maze, String outputFilePath, StreamWriter logFile ) : Maze
maze Maze
outputFilePath String
logFile System.IO.StreamWriter
Résultat Maze

GetPlayerName() public méthode

public GetPlayerName ( ) : String
Résultat String

GetPlayerPath() public méthode

public GetPlayerPath ( ) : String
Résultat String

GetScore() public méthode

public GetScore ( ) : int
Résultat int

GetSymbol() public méthode

public GetSymbol ( ) : char
Résultat char

IsAllowedPoisonPillDrop() public méthode

public IsAllowedPoisonPillDrop ( ) : bool
Résultat bool

Player() public méthode

public Player ( String playerName, String workingPath, String executableFileName, char symbol ) : System
playerName String
workingPath String
executableFileName String
symbol char
Résultat System

SetCurrentPosition() public méthode

public SetCurrentPosition ( Point coordinate ) : void
coordinate Point
Résultat void

UsePoisonPill() public méthode

public UsePoisonPill ( ) : void
Résultat void