|
${event.focusID
? this.renderButton({
content: this.getEventDescription(event),
onClick: () => {
event.focusID &&
this.emitGoToPlayerEvent(event.focusID);
},
className: "text-left",
})
: event.unitView
? this.renderButton({
content: this.getEventDescription(event),
onClick: () => {
event.unitView &&
this.emitGoToUnitEvent(
event.unitView,
);
},
className: "text-left",
})
: this.getEventDescription(event)}
${event.buttons
? html`
${event.buttons.map(
(btn) => html`
`,
)}
`
: ""}
|
| ${this.renderIncomingAttacks()} |
| ${this.renderOutgoingAttacks()} |
| ${this.renderOutgoingLandAttacks()} |
| ${this.renderBoats()} |