use GameView in renderers

This commit is contained in:
Evan
2025-02-01 12:05:11 -08:00
parent 8616e9bfcb
commit 3e8517363f
21 changed files with 101 additions and 122 deletions
+2 -1
View File
@@ -17,6 +17,7 @@ import { Layer } from "./Layer";
import { SendAllianceReplyIntentEvent } from "../../Transport";
import { unsafeHTML } from 'lit/directives/unsafe-html.js';
import { onlyImages, sanitize } from '../../../core/Util';
import { GameView } from '../../../core/GameView';
interface Event {
description: string;
@@ -35,7 +36,7 @@ interface Event {
@customElement('events-display')
export class EventsDisplay extends LitElement implements Layer {
public eventBus: EventBus;
public game: Game;
public game: GameView;
public clientID: ClientID;
private events: Event[] = [];