메소드 | 설명 | |
---|---|---|
BeginTurn ( ) : void |
Begins the player's turn.
|
|
Disqualify ( String reason ) : void |
Disqualifies the player
|
|
EndTurn ( ) : void |
Switches the turn from this player to another.
|
|
Lose ( ) : void |
Makes the player lose
|
|
Message ( String message ) : void |
Makes the player send a message.
|
|
Player ( System.Entity parent, string newName ) : System |
Constructs a Player with an ID and a name. This player will not have a controller.
|
|
Shoot ( int x, int y ) : Shot |
Shoots against an arbitrary player opponent at the specified X and Y coordinates.
|
|
Shoot ( |
Shoots against a player opponent at the specified X and Y coordinates.
|
|
Shoot ( Shot shot ) : void |
Shoots a shot for the player.
|
|
ToString ( ) : string |
Generates a string representation of the player.
|
|
Win ( ) : void |
Makes the player win.
|
public Player ( System.Entity parent, string newName ) : System | ||
parent | System.Entity | |
newName | string | The name of the player |
리턴 | System |
public Shoot ( |
||
opponent | ||
x | int | |
y | int | |
리턴 | void |