Improved game logs: added target hints, fixed spaces in target amount;

This commit is contained in:
Oleg Agafonov 2020-06-26 10:59:22 +04:00
parent 99167fa50e
commit 50c46e39a3
16 changed files with 76 additions and 76 deletions

View file

@ -112,8 +112,8 @@ public abstract class TargetImpl implements Target {
sb.append(suffix);
return sb.toString();
}
if (targetName.startsWith("another")
|| targetName.startsWith("a ")
if (targetName.startsWith("another")
|| targetName.startsWith("a ")
|| targetName.startsWith("an ")
|| targetName.startsWith("any ")) {
return "Select " + targetName + suffix;
@ -555,6 +555,11 @@ public abstract class TargetImpl implements Target {
return this;
}
@Override
public String getChooseHint() {
return chooseHint;
}
@Override
public void setEventReporting(boolean shouldReport) {
this.shouldReportEvents = shouldReport;