Метод | Описание | |
---|---|---|
Cleanup ( GameEndState state ) : void |
Cleans up a battleship defense
|
|
IncomingShot ( Position p ) : void |
Register an incoming shot
|
|
Initialize ( |
Initializes a battleship defense
|
|
PlaceShips ( ) : List |
Place ships on board
|
public Cleanup ( GameEndState state ) : void | ||
state | GameEndState | Win/Lose/Draw |
Результат | void |
public IncomingShot ( Position p ) : void | ||
p | Position | Position shot at |
Результат | void |
public Initialize ( |
||
player | owning player | |
Результат | void |