Method | Description | |
---|---|---|
AddUser ( |
To set the User as a player of the match.
|
|
ComputerTurn ( ) : void |
Computer begins their turn.
|
|
Play ( ) : void |
Starts a one round match.
|
|
Restart ( ) : void |
To restart the match.
|
|
UserMatch ( Configuration conf ) : System |
Constructs a match with a specific configuration.
|
|
UserShoot ( Shot shot ) : void |
Starts the Users turn, shots and ends the turn.
|
Method | Description | |
---|---|---|
PlayLogic ( ) : bool |
|
Method | Description | |
---|---|---|
HandleAddPlayer ( |
||
HandleEndTurn ( |
||
HandleRoundBegin ( |
||
HandleShipDestroyed ( |
||
HandleShipMove ( |
||
HandleShot ( |
||
HandleWinner ( |
public AddUser ( |
||
user | User controller | |
return | void |
public UserMatch ( Configuration conf ) : System | ||
conf | Configuration | Configuration Information |
return | System |