Beispiel #1
0
    void DeInvest()
    {
        if (gameData.DisinvestResource(resourceType, actionBase.nBenefit))
        {
            actionBase.localInvestCounter--;
            actionCounter.AddBenefit((int)resourceType);

            ResourceEvents.Instance.actualResourceType = resourceType;
            ResourceEvents.Instance.deInvest.Raise();
        }
    }