GameRules set up useGrayText boolean

This commit is contained in:
Northmoc
2021-09-30 22:00:33 -04:00
parent 7a86f84d0d
commit aa0b390cde

View File

@@ -16,6 +16,8 @@ public class GameRules {
// it's a preference, not rule... but I could hardly find a better place for it
private boolean canCloneUseTargetsImage;
// same for me
private boolean useGrayText;
public GameRules(final GameType type) {
this.gameType = type;
@@ -99,4 +101,11 @@ public class GameRules {
public void setCanCloneUseTargetsImage(final boolean canCloneUseTargetsImage) {
this.canCloneUseTargetsImage = canCloneUseTargetsImage;
}
public boolean useGrayText() {
return useGrayText;
}
public void setUseGrayText(final boolean useGrayText) {
this.useGrayText = useGrayText;
}
}