purchase buffs menu works

This commit is contained in:
Ian Woods 2026-06-03 00:05:52 -07:00
parent 3737ad517c
commit 79cd331141
6 changed files with 222 additions and 7 deletions

View file

@ -149,6 +149,14 @@ namespace TD.Gameplay
// Right-click. Suppressed entirely during a modal mode (placement/paint
// controllers handle right-click as cancel there) and when over HUD.
if (isModal) return;
// B: toggle buff menu.
if (keyboard != null && keyboard.bKey.wasPressedThisFrame
&& !HUDController.IsTextInputActive)
{
HUDController.Instance?.ToggleBuffMenu();
}
if (pointerOverHud) return;
if (!mouse.rightButton.wasPressedThisFrame) return;