Add ammo counter for ranged items in quickslot

This commit is contained in:
Peter Stockings
2026-01-20 21:35:34 +11:00
parent bac2c130aa
commit d4f763d1d0
5 changed files with 131 additions and 14 deletions

View File

@@ -315,6 +315,10 @@ export class DungeonRenderer {
this.fxRenderer.showAlert(x, y);
}
showFloatingText(x: number, y: number, message: string, color: string) {
this.fxRenderer.showFloatingText(x, y, message, color);
}
showProjectile(from: Vec2, to: Vec2, itemId: string, onComplete: () => void) {
// World coords
const startX = from.x * TILE_SIZE + TILE_SIZE / 2;