mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-01-31 23:29:36 +01:00
added som comments to player
This commit is contained in:
parent
68022fec64
commit
3849e1b8fc
@ -13,7 +13,11 @@ public class Robot {
|
|||||||
private Position backupPosition;
|
private Position backupPosition;
|
||||||
private Position currentPosition;
|
private Position currentPosition;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @param playerId gives the robot a identifier that links it too the correct player
|
||||||
|
* @param spawnPosition
|
||||||
|
*/
|
||||||
public Robot (int playerId, Position spawnPosition){
|
public Robot (int playerId, Position spawnPosition){
|
||||||
this.playerId=playerId;
|
this.playerId=playerId;
|
||||||
this.backupPosition = spawnPosition;
|
this.backupPosition = spawnPosition;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user