C# Class MBC.Controllers.SimpleBot_1_0_0

Inheritance: MBC.Shared.Util.Controller2
Afficher le fichier Open project: aiclub/Mohawk_Battleship

Méthodes protégées

Méthode Description
Initialize ( ) : void

Hooks required events.

Private Methods

Méthode 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
resetShots ( ) : void

Reset our shot tracking variables for a fresh game

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

Shoots at the next available location

turnStart ( ) : void

It is our turn, fire!

Method Details

Initialize() protected méthode

Hooks required events.
protected Initialize ( ) : void
Résultat void