other: added announceX testable dialogs in cheat menu (part of #10330)

This commit is contained in:
Oleg Agafonov 2025-05-16 19:36:01 +04:00
parent 66db821437
commit fa20361e2e
3 changed files with 68 additions and 3 deletions

View file

@ -32,7 +32,7 @@ class ChooseTargetTestableDialog extends BaseTestableDialog {
public ChooseTargetTestableDialog(boolean isPlayerChoice, boolean isTargetChoice, boolean notTarget, boolean isYou, String name, Target target) {
super(String.format("%s%s(%s, %s)",
isPlayerChoice ? "player.choose" : "target.choose",
isTargetChoice ? "target" : "", // chooseTarget or choose
isTargetChoice ? "Target" : "", // chooseTarget or choose
isYou ? "you" : "AI",
notTarget ? "not target" : "target"), name, target.toString());
this.isPlayerChoice = isPlayerChoice;