C# Class MBC.Controllers.SimpleBot_2_1_0

Inheritance: MBC.Shared.Util.Controller2
Exibir arquivo Open project: aiclub/Mohawk_Battleship

Protected Methods

Method Description
Initialize ( ) : void

Hooks required events.

Private Methods

Method Description
matchBeginEvent ( Event ev ) : void
newMatch ( ) : void

A new match has begun

newRound ( ) : void

A new round has begun, place our ships and prepare to fire!

placeShips ( ) : void

Place ships in specific locations

playerTurnBeginEvent ( Event ev ) : void
populateShotList ( ) : void

Populate our list of shot coordinates

roundBeginEvent ( Event ev ) : void
shoot ( ) : void

Takes coordinates and shoots at them

turnStart ( ) : void

It is our turn, fire!

Method Details

Initialize() protected method

Hooks required events.
protected Initialize ( ) : void
return void