C# Class PacManDuel.Models.Player

ファイルを表示 Open project: EntelectChallenge/2014-PacMan-TestHarness Class Usage Examples

Public Methods

Method 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 method

public AddToScore ( int score ) : void
score int
return void

GetCurrentPosition() public method

public GetCurrentPosition ( ) : Point
return Point

GetMove() public method

public GetMove ( Maze maze, String outputFilePath, StreamWriter logFile ) : Maze
maze Maze
outputFilePath String
logFile System.IO.StreamWriter
return Maze

GetPlayerName() public method

public GetPlayerName ( ) : String
return String

GetPlayerPath() public method

public GetPlayerPath ( ) : String
return String

GetScore() public method

public GetScore ( ) : int
return int

GetSymbol() public method

public GetSymbol ( ) : char
return char

IsAllowedPoisonPillDrop() public method

public IsAllowedPoisonPillDrop ( ) : bool
return bool

Player() public method

public Player ( String playerName, String workingPath, String executableFileName, char symbol ) : System
playerName String
workingPath String
executableFileName String
symbol char
return System

SetCurrentPosition() public method

public SetCurrentPosition ( Point coordinate ) : void
coordinate Point
return void

UsePoisonPill() public method

public UsePoisonPill ( ) : void
return void