Exemplo n.º 1
0
    private void Awake()
    {
        startCombatState = new StartCombat(this);
        playerTurnState  = new PlayerTurn(this);
        enemyTurnState   = new EnemyTurn(this);
        battleLostState  = new BattleLost(this);
        battleWonState   = new BattleWon(this);
        blankState       = new BlankState(this);
        currentState     = blankState;

        missionButtonArray = GameObject.FindGameObjectsWithTag("MissionButton");
    }
Exemplo n.º 2
0
    private void Awake()
    {
        startCombatState = new StartCombat(this);
        playerTurnState = new PlayerTurn(this);
        enemyTurnState = new EnemyTurn(this);
        battleLostState = new BattleLost(this);
        battleWonState = new BattleWon(this);
        blankState = new BlankState(this);
        currentState = blankState;

        missionButtonArray = GameObject.FindGameObjectsWithTag("MissionButton");
    }