C# Class MBC.App.Terminal.Modules.CompetitionRun

Inheritance: TerminalModule
Mostra file Open project: aiclub/Mohawk_Battleship Class Usage Examples

Public Methods

Method Description
Begin ( ) : void
CompetitionRun ( MatchCore comp, int delay, bool showBoards ) : System

Protected Methods

Method Description
Display ( ) : void

Private Methods

Method Description
ASCIIShipDestroyed ( Event ev ) : void
ASCIIUpdateShip ( Event ev ) : void
ASCIIUpdateShot ( Event ev ) : void
ASCIIUpdateShotHit ( Event ev ) : void
ASCIIWriteShip ( IDNumber ctrlIdx, Ship ship, char character, ConsoleColor colorText, ConsoleColor colorBack ) : void
MakeASCII ( Event ev ) : void
MatchEnd ( Event ev ) : void
ModifyASCII ( int ctrlIdx, int x, int y, char character, ConsoleColor text, ConsoleColor background ) : void
ResetTurns ( Event ev ) : void
SleepEvent ( Event ev ) : void
WriteHeader ( Event ev ) : void
WriteScoreRounds ( Event ev ) : void
WriteTurns ( Event ev ) : void

Method Details

Begin() public method

public Begin ( ) : void
return void

CompetitionRun() public method

public CompetitionRun ( MatchCore comp, int delay, bool showBoards ) : System
comp MatchCore
delay int
showBoards bool
return System

Display() protected method

protected Display ( ) : void
return void