Пример #1
0
    public void ResetBattleGameState()
    {
        //Reset Turns
        turnCounter      = 0;
        remainingActions = 0;
        battleActive     = false;
        currentPhase     = BattlePhase.Upkeep;

        //Reset Gold
        CurrencyManager.instance.ResetCurrencyState();

        //Reset Player Deck
        PlayerDeckManager.instance.ResetDeck();

        //Reset Enemy Deck
        enemyDeck = null;

        //Reset Level
        battleLevel = null;
    }
Пример #2
0
 public void UpdateLevelDisplay(SO_Level _level)
 {
     levelDisplayPreview.text = _level.levelName + " : " + _level.levelDesc;
 }
 public void OnSpawn(SO_Level _scene)
 {
     myLevel        = _scene;
     levelName.text = myLevel.levelName;
 }