mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 02:38:02 +00:00
GameRules set up useGrayText boolean
This commit is contained in:
@@ -16,6 +16,8 @@ public class GameRules {
|
|||||||
|
|
||||||
// it's a preference, not rule... but I could hardly find a better place for it
|
// it's a preference, not rule... but I could hardly find a better place for it
|
||||||
private boolean canCloneUseTargetsImage;
|
private boolean canCloneUseTargetsImage;
|
||||||
|
// same for me
|
||||||
|
private boolean useGrayText;
|
||||||
|
|
||||||
public GameRules(final GameType type) {
|
public GameRules(final GameType type) {
|
||||||
this.gameType = type;
|
this.gameType = type;
|
||||||
@@ -99,4 +101,11 @@ public class GameRules {
|
|||||||
public void setCanCloneUseTargetsImage(final boolean canCloneUseTargetsImage) {
|
public void setCanCloneUseTargetsImage(final boolean canCloneUseTargetsImage) {
|
||||||
this.canCloneUseTargetsImage = canCloneUseTargetsImage;
|
this.canCloneUseTargetsImage = canCloneUseTargetsImage;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean useGrayText() {
|
||||||
|
return useGrayText;
|
||||||
|
}
|
||||||
|
public void setUseGrayText(final boolean useGrayText) {
|
||||||
|
this.useGrayText = useGrayText;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user