mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-01-31 23:29:36 +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 {
|
||||
private final RobotID robotID;
|
||||
private final String name;
|
||||
private RobotID robotID;
|
||||
private String name;
|
||||
private boolean powerDownNextRound = false;
|
||||
private ProgrammingCardDeck playerDeck;
|
||||
private ProgrammingCardDeck lockedPlayerDeck;
|
||||
@ -26,6 +26,14 @@ public class Player {
|
||||
this.robotID = robotID;
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user