added som comments to player

This commit is contained in:
Tobydrama 2020-02-22 13:18:30 +01:00
parent 68022fec64
commit 3849e1b8fc

View File

@ -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;