Skip to content

Commit

Permalink
Feat: GetStartingMoney() method in player
Browse files Browse the repository at this point in the history
  • Loading branch information
tommyah committed Apr 9, 2026
1 parent f7b02c5 commit 25e96a7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/main/java/edu/ntnu/idi/idatt2003/g40/mappe/Player.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,15 @@ public String getName() {
return name;
}

/**
* Returns the players chosen starting balance.
*
* @return the starting money the player chose.
*/
public BigDecimal getStartingMoney() {
return startingMoney;
}

/**
* Returns the players current balance.
*
Expand Down

0 comments on commit 25e96a7

Please sign in to comment.