Skip to content

Commit

Permalink
Feat: Seperated constants and logic, removed from test folder
Browse files Browse the repository at this point in the history
  • Loading branch information
tommyah committed Apr 9, 2026
1 parent 3586cf6 commit 09d4664
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 34 deletions.
42 changes: 42 additions & 0 deletions src/main/java/edu/ntnu/idi/idatt2003/g40/mappe/PlayerStatus.java
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 src/test/java/edu/ntnu/idi/idatt2003/g40/mappe/PlayerStatus.java

This file was deleted.

0 comments on commit 09d4664

Please sign in to comment.