Add ammo counter for ranged items in quickslot
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user