-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat: Seperated constants and logic, removed from test folder
- Loading branch information
Showing
2 changed files
with
42 additions
and
34 deletions.
There are no files selected for viewing
42 changes: 42 additions & 0 deletions
42
src/main/java/edu/ntnu/idi/idatt2003/g40/mappe/PlayerStatus.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| package edu.ntnu.idi.idatt2003.g40.mappe; | ||
|
|
||
| import java.math.BigDecimal; | ||
|
|
||
| /** | ||
| * Enum representing a players' current status. | ||
| * | ||
| * <p>The player has the responsibility for getting | ||
| * a status.</p> | ||
| * */ | ||
| public enum PlayerStatus { | ||
|
|
||
| /** Status representing a beginner. */ | ||
| NOOB, | ||
|
|
||
| /** | ||
| * Status representing a player who has increased | ||
| * their net worth by at least 20 percent. */ | ||
| NOVICE, | ||
|
|
||
| /** | ||
| * Status representing a player who has increased | ||
| * their net worth by at least 50 percent. */ | ||
| GOOD, | ||
|
|
||
| /** Status representing a player who has at least doubled their net worth. */ | ||
| TRYHARD, | ||
|
|
||
| /** Status representing a player who has at least tripled their net worth. */ | ||
| PRO, | ||
|
|
||
| /** | ||
| * Status representing a player who has at least quintupled their | ||
| * net worth. */ | ||
| SEER, | ||
|
|
||
| /** | ||
| * Status representing a player who has at least dectupled their | ||
| * net worth. */ | ||
| OMNIPOTENT; | ||
| } | ||
|
|
34 changes: 0 additions & 34 deletions
34
src/test/java/edu/ntnu/idi/idatt2003/g40/mappe/PlayerStatus.java
This file was deleted.
Oops, something went wrong.