mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-06-25 02:34:43 +02:00
added som comments to player
This commit is contained in:
@ -13,7 +13,11 @@ public class Robot {
|
||||
private Position backupPosition;
|
||||
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){
|
||||
this.playerId=playerId;
|
||||
this.backupPosition = spawnPosition;
|
||||
|
Reference in New Issue
Block a user