Method | Description | |
---|---|---|
Player ( string name, IField field, IInput input ) : System |
Constructor for initialization of plyers.
|
|
TakeAShot ( ) : int |
Player shoots in playfield
|
public Player ( string name, IField field, IInput input ) : System | ||
name | string | Name of the player. |
field | IField | The player's playfield. |
input | IInput | Input object for receiving commands. |
return | System |