game: improved game logs for faced-down spells and exiled cards - now it support popup hint to view card/permanent (part of #11884, related to #11881, #8781)

This commit is contained in:
Oleg Agafonov 2024-03-01 02:08:25 +04:00
parent 4334ac8987
commit c8a9a1a9db
8 changed files with 77 additions and 26 deletions

View file

@ -30,7 +30,7 @@ public class ExileTargetEffect extends OneShotEffect {
private String exileZone = null;
private UUID exileId = null;
private boolean toSourceExileZone = false; // exile the targets to a source object specific exile zone (takes care of zone change counter)
private boolean withName = true;
private boolean withName = true; // for face down - allows to hide card name in game logs before real face down apply
public ExileTargetEffect(String effectText) {
this();
@ -75,6 +75,7 @@ public class ExileTargetEffect extends OneShotEffect {
return this;
}
// TODO: replace to withHiddenName and instructions to use
public void setWithName(boolean withName) {
this.withName = withName;
}