C# 클래스 PacManDuel.Models.Player

파일 보기 프로젝트 열기: EntelectChallenge/2014-PacMan-TestHarness 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

AddToScore() 공개 메소드

public AddToScore ( int score ) : void
score int
리턴 void

GetCurrentPosition() 공개 메소드

public GetCurrentPosition ( ) : Point
리턴 Point

GetMove() 공개 메소드

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

GetPlayerName() 공개 메소드

public GetPlayerName ( ) : String
리턴 String

GetPlayerPath() 공개 메소드

public GetPlayerPath ( ) : String
리턴 String

GetScore() 공개 메소드

public GetScore ( ) : int
리턴 int

GetSymbol() 공개 메소드

public GetSymbol ( ) : char
리턴 char

IsAllowedPoisonPillDrop() 공개 메소드

public IsAllowedPoisonPillDrop ( ) : bool
리턴 bool

Player() 공개 메소드

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

SetCurrentPosition() 공개 메소드

public SetCurrentPosition ( Point coordinate ) : void
coordinate Point
리턴 void

UsePoisonPill() 공개 메소드

public UsePoisonPill ( ) : void
리턴 void