feat(ping): add Ping.ts with PingType and PingPlacedEvent definitions

This commit is contained in:
Restart2008
2025-11-21 20:59:35 -08:00
parent c712ca9f65
commit 53f9c02e84
+17
View File
@@ -0,0 +1,17 @@
import { TileRef } from "./GameMap";
export enum PingType {
Attack,
Retreat,
Defend,
WatchOut,
}
export class Ping {
constructor(
public type: PingType,
public tile: TileRef,
) {}
}
export class PingPlacedEvent extends Ping {}