From 53f9c02e84c6a99a59f11c494326e6a70feff4d1 Mon Sep 17 00:00:00 2001 From: Restart2008 Date: Fri, 21 Nov 2025 20:59:35 -0800 Subject: [PATCH] feat(ping): add Ping.ts with PingType and PingPlacedEvent definitions --- src/core/game/Ping.ts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/core/game/Ping.ts diff --git a/src/core/game/Ping.ts b/src/core/game/Ping.ts new file mode 100644 index 000000000..81e3d4147 --- /dev/null +++ b/src/core/game/Ping.ts @@ -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 {}