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 Nov 20, 2023
1 parent 2618c82 commit c9b45b5
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>17</java.version>
<revision>0.81.1</revision>
<revision>0.82.0</revision>
</properties>

<parent>
Expand Down
40 changes: 40 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 @@ -126,6 +126,8 @@ public class Settings {
@Required
private boolean monsters = true;
@Required
private boolean monsterAttackModifierDeck = true;
@Required
private boolean moveElements = true;
@Required
private boolean partySheet = true;
Expand All @@ -148,6 +150,8 @@ public class Settings {
@Required
private boolean standeeStats = false;
@Required
private boolean summons = true;
@Required
private boolean treasures = true;
@Required
private boolean treasuresLoot = true;
Expand Down Expand Up @@ -1160,6 +1164,24 @@ public void setMonsters(boolean monsters) {
this.monsters = monsters;
}

/**
* Checks if is monster attack modifier deck.
*
* @return true, if is monster attack modifier deck
*/
public boolean isMonsterAttackModifierDeck() {
return monsterAttackModifierDeck;
}

/**
* Sets the monster attack modifier deck.
*
* @param monsterAttackModifierDeck the new monster attack modifier deck
*/
public void setMonsterAttackModifierDeck(boolean monsterAttackModifierDeck) {
this.monsterAttackModifierDeck = monsterAttackModifierDeck;
}

/**
* Checks if is move elements.
*
Expand Down Expand Up @@ -1358,6 +1380,24 @@ public void setStandeeStats(boolean standeeStats) {
this.standeeStats = standeeStats;
}

/**
* Sets the summons.
*
* @param summons the new summons
*/
public void setSummons(boolean summons) {
this.summons = summons;
}

/**
* Checks if is summons.
*
* @return true, if is summons
*/
public boolean isSummons() {
return summons;
}

/**
* Checks if is treasures.
*
Expand Down

0 comments on commit c9b45b5

Please sign in to comment.