mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-02-01 07:39:35 +01:00
la til ekstra metoder
This commit is contained in:
parent
165ea68f3b
commit
b644617a18
@ -10,8 +10,8 @@ import java.util.List;
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
public class Player {
|
public class Player {
|
||||||
private final RobotID robotID;
|
private RobotID robotID;
|
||||||
private final String name;
|
private String name;
|
||||||
private boolean powerDownNextRound = false;
|
private boolean powerDownNextRound = false;
|
||||||
private ProgrammingCardDeck playerDeck;
|
private ProgrammingCardDeck playerDeck;
|
||||||
private ProgrammingCardDeck lockedPlayerDeck;
|
private ProgrammingCardDeck lockedPlayerDeck;
|
||||||
@ -26,6 +26,14 @@ public class Player {
|
|||||||
this.robotID = robotID;
|
this.robotID = robotID;
|
||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
public Player(){}
|
||||||
|
public void setRobotID(RobotID robotID){
|
||||||
|
this.robotID=robotID;
|
||||||
|
}
|
||||||
|
public void setName(String name){
|
||||||
|
this.name=name;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gives you the RobotID of a player
|
* Gives you the RobotID of a player
|
||||||
|
Loading…
x
Reference in New Issue
Block a user