C# Класс MBC.Controllers.SimpleBot_1_0_0

Наследование: MBC.Shared.Util.Controller2
Показать файл Открыть проект

Защищенные методы

Метод Описание
Initialize ( ) : void

Hooks required events.

Приватные методы

Метод Описание
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!

Описание методов

Initialize() защищенный Метод

Hooks required events.
protected Initialize ( ) : void
Результат void