Example #1
0
    public void TakeTurn()
    {
        Debug.Log("taking my turn");
        //Dont attack if was targeted last turn
        if (_usedMoves.Count > 0)
        {
            DoneTurn();
            return;
        }
        _delegate.EnemyMsg("The " + "Imp".ColorFor(Entity.ENEMY) + " is mad you ignored it...");
        //TODO make an attack method

        Action attack = Attack;

        StartCoroutine(WaitFor(1.0f, attack));
    }