Skip to content

Commit

Permalink
update for latest GHS
Browse files Browse the repository at this point in the history
  • Loading branch information
Lurkars committed May 2, 2024
1 parent c45f9e5 commit 88a9451
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>17</java.version>
<revision>0.95.0</revision>
<revision>0.95.16</revision>
</properties>

<parent>
Expand Down
20 changes: 20 additions & 0 deletions src/main/java/de/champonthis/ghs/server/model/Settings.java
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ public class Settings {
@Required
private boolean combineSummonAction = true;
@Required
private boolean damageHP = false;
@Required
private boolean disabledTurnConfirmation = false;
@Required
private boolean disableSortFigures = false;
Expand Down Expand Up @@ -1036,6 +1038,24 @@ public void setCombineSummonAction(boolean combineSummonAction) {
this.combineSummonAction = combineSummonAction;
}

/**
* Checks if is damage HP.
*
* @return true, if is damage HP
*/
public boolean isDamageHP() {
return damageHP;
}

/**
* Sets the damage HP.
*
* @param damageHP the new damage HP
*/
public void setDamageHP(boolean damageHP) {
this.damageHP = damageHP;
}

/**
* Checks if is disabled turn confirmation.
*
Expand Down

0 comments on commit 88a9451

Please sign in to comment.