Exemplo n.º 1
0
    void Awake()
    {
        GameManagerInstance = this;
        List <GameObject> PlayerTurnEntities = new List <GameObject>();

        PlayerTurnEntities.Add(Player);
        List <GameObject> EnemyTurnEntities = new List <GameObject>();

        EnemyTurnEntities.Add(Enemy);
        EnemyTurnEntities.Add(EnemyB);
        Turn PlayerTurn = new Turn(PlayerTurnEntities, (int)TurnSignals.Done);
        Turn EnemyTurn  = new Turn(EnemyTurnEntities, (int)TurnSignals.Done);

        TurnManager.AddTurn(PlayerTurn);
        TurnManager.AddTurn(EnemyTurn);
    }