1
0
mirror of https://github.com/inf112-v20/Fiasko.git synced 2025-05-01 07:56:25 +02:00

added som comments to player

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

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