Пример #1
0
    public void onTick()
    {
        if (timeSpent >= timeToStorm)
        {
            GameManager.AbandondIsland();
            timeSpent = 0;
        }

        timeSpent++;
        OnPropertyChanged(nameof(TimeLeft));
    }
Пример #2
0
 public void AbandonIsland()
 {
     GameManager.AbandondIsland();
 }