Skip to content

Commit

Permalink
Merge pull request #18 from TheRealEmissions/fix-need-levels
Browse files Browse the repository at this point in the history
fixed logic of eat need
  • Loading branch information
TheRealEmissions authored Mar 21, 2024
2 parents afd353d + 392b6e8 commit c1afb91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/uk/ac/york/student/game/activities/Activity.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public enum Activity {
* The {@link Activity#EAT} activity increases the {@link Player}'s {@link PlayerMetrics#getHappiness()}.

Check warning on line 42 in core/src/uk/ac/york/student/game/activities/Activity.java

View workflow job for this annotation

GitHub Actions / Qodana Community for JVM

Javadoc declaration problems

Javadoc pointing to itself
*/
EAT(
Pair.of(PlayerMetrics.MetricType.HAPPINESS, PlayerMetrics.MetricEffect.INCREASE)
Pair.of(PlayerMetrics.MetricType.ENERGY, PlayerMetrics.MetricEffect.INCREASE)
),
/**
* The {@link Activity#ENTERTAIN} activity increases the {@link Player}'s {@link PlayerMetrics#getHappiness()} and decreases their {@link PlayerMetrics#getEnergy()}.

Check warning on line 48 in core/src/uk/ac/york/student/game/activities/Activity.java

View workflow job for this annotation

GitHub Actions / Qodana Community for JVM

Javadoc declaration problems

Javadoc pointing to itself
Expand Down

0 comments on commit c1afb91

Please sign in to comment.