Update Player.java
This commit is contained in:
@@ -10,8 +10,15 @@ public class Player {
|
|||||||
private int location = 1;
|
private int location = 1;
|
||||||
private int guns = 3;
|
private int guns = 3;
|
||||||
private int HP = 100;
|
private int HP = 100;
|
||||||
|
|
||||||
|
public int getDebt() {
|
||||||
|
return debt;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDebt(int debt) {
|
||||||
|
this.debt = debt;
|
||||||
|
}
|
||||||
|
|
||||||
public String getName() {
|
public String getName() {
|
||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user