[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
+12
View File
@@ -42,12 +42,24 @@ namespace YachtDice.UI
turnText.text = $"Ход {turn} / {maxTurns}";
}
public void SetRunInfoText(string text)
{
if (turnText != null)
turnText.text = text;
}
public void SetCurrencyText(int amount)
{
if (currencyText != null)
currencyText.text = amount.ToString();
}
public void SetShopButtonInteractable(bool interactable)
{
if (shopButton != null)
shopButton.interactable = interactable;
}
public void ShowGameOver(int finalScore)
{
gameOverPanel.SetActive(true);