C# 클래스 Game.TicTacToe.TicTacToe

상속: IGame
파일 보기 프로젝트 열기: michalczerwinski/hello_wars

보호된 프로퍼티들

프로퍼티 타입 설명
TicTacToeViewModel Game.TicTacToe.ViewModels.TicTacToeViewModel

Private Properties

프로퍼티 타입 설명
ClearTheBoard void
ExportBoardState ].BoardFieldSign[
GetResults double>.Dictionary
InitializePlayers void
IsNextMoveValid bool
IsPlayerWon Task
PerformNextMove Task

공개 메소드들

메소드 설명
ApplyConfiguration ( string configurationXml ) : void
ChangeDelayTime ( int delayTime ) : void
GetGameRules ( ) : string
GetVisualisationUserControl ( ) : System.Windows.Controls.UserControl
GetVisualisationUserControl ( IConfigurable configuration ) : System.Windows.Controls.UserControl
IsBoardFull ( ) : bool
PerformNextRoundAsync ( ) : Task
Reset ( ) : void
SetPreview ( object boardState ) : void
SetupNewGame ( IEnumerable competitors ) : void
TicTacToe ( ) : System

비공개 메소드들

메소드 설명
ClearTheBoard ( ) : void
ExportBoardState ( ) : ].BoardFieldSign[
GetResults ( ) : double>.Dictionary
InitializePlayers ( ) : void
IsNextMoveValid ( System.Drawing.Point movePoint ) : bool
IsPlayerWon ( ITicTacToeBot player ) : Task
PerformNextMove ( ITicTacToeBot competitor ) : Task

메소드 상세

ApplyConfiguration() 공개 메소드

public ApplyConfiguration ( string configurationXml ) : void
configurationXml string
리턴 void

ChangeDelayTime() 공개 메소드

public ChangeDelayTime ( int delayTime ) : void
delayTime int
리턴 void

GetGameRules() 공개 메소드

public GetGameRules ( ) : string
리턴 string

GetVisualisationUserControl() 공개 메소드

public GetVisualisationUserControl ( ) : System.Windows.Controls.UserControl
리턴 System.Windows.Controls.UserControl

GetVisualisationUserControl() 공개 메소드

public GetVisualisationUserControl ( IConfigurable configuration ) : System.Windows.Controls.UserControl
configuration IConfigurable
리턴 System.Windows.Controls.UserControl

IsBoardFull() 공개 메소드

public IsBoardFull ( ) : bool
리턴 bool

PerformNextRoundAsync() 공개 메소드

public PerformNextRoundAsync ( ) : Task
리턴 Task

Reset() 공개 메소드

public Reset ( ) : void
리턴 void

SetPreview() 공개 메소드

public SetPreview ( object boardState ) : void
boardState object
리턴 void

SetupNewGame() 공개 메소드

public SetupNewGame ( IEnumerable competitors ) : void
competitors IEnumerable
리턴 void

TicTacToe() 공개 메소드

public TicTacToe ( ) : System
리턴 System

프로퍼티 상세

TicTacToeViewModel 보호되어 있는 프로퍼티

protected TicTacToeViewModel,Game.TicTacToe.ViewModels TicTacToeViewModel
리턴 Game.TicTacToe.ViewModels.TicTacToeViewModel