Exemple #1
0
    public override void TurnUpdate()
    {
        AIEnemy aiEnemy = GameResources.AIEnemy;
        Player  player  = GameResources.Player;

        base.TurnUpdate();

        if (outIsEnemy)
        {
            aiEnemy.UpdateGoldStoreGold(outAddValue);
        }
        else
        {
            player.UpdateGoldStoreGold(outAddValue);
        }
    }