public class Player
extends Object
Class representing a player
-
Methodenübersicht
int
Returns the id of the connection to the client represented by this player.
-
Methodendetails
-
getId
public int getId()
Returns the id of the connection to the client represented by this player.
- Gibt zurück:
- the id
-
-
getMap
- Gibt zurück:
- map containing own ships and shots