C# 클래스 MBC.Core.Game.ClassicMatch

A type of match that uses the standard rules of battleship as logic.
상속: MatchCore
파일 보기 프로젝트 열기: aiclub/Mohawk_Battleship 1 사용 예제들

공개 메소드들

메소드 설명
ClassicMatch ( ) : System

Constructs a match with the application-wide configuration.

ClassicMatch ( Configuration conf ) : System

Constructs a match with a specific configuration.

보호된 메소드들

메소드 설명
PlayLogic ( ) : bool

Plays through the current state of the match, in one iteration.

비공개 메소드들

메소드 설명
HandleAddPlayer ( Event ev ) : void
HandlePlayerLose ( Event ev ) : void
HandlePlayerShot ( Event ev ) : void
HandleRemovePlayer ( Event ev ) : void
HandleRoundBegin ( Event ev ) : void
HandleRoundEnd ( Event ev ) : void
HandleShipDestroyed ( Event ev ) : void
HandleShipMove ( Event ev ) : void
WaitForTimeout ( ) : void

메소드 상세

ClassicMatch() 공개 메소드

Constructs a match with the application-wide configuration.
public ClassicMatch ( ) : System
리턴 System

ClassicMatch() 공개 메소드

Constructs a match with a specific configuration.
public ClassicMatch ( Configuration conf ) : System
conf Configuration
리턴 System

PlayLogic() 보호된 메소드

Plays through the current state of the match, in one iteration.
protected PlayLogic ( ) : bool
리턴 bool