[Add] GameLoop base

This commit is contained in:
2026-03-18 09:13:48 +07:00
parent c819c0d045
commit 537ae1ce5c
28 changed files with 997 additions and 40 deletions
+14
View File
@@ -54,6 +54,20 @@ namespace YachtDice.Shop
shopView.Show();
}
public void Open()
{
if (shopView == null) return;
shopView.Show();
}
public void Close()
{
if (shopView == null) return;
shopView.Hide();
}
public bool IsOpen => shopView != null && shopView.IsVisible;
private void HandleBuyClicked(IShopItem item)
{
_model.TryPurchase(item);