Example #1
0
    void CheckNiche(GameEntity niche)
    {
        bool needsPromotion = niche.nicheClientsContainer.Clients[0] <= 0;

        if (needsPromotion)
        {
            PromoteNiche(niche);
        }
        else
        {
            Markets.DecrementDuration(niche);
        }
    }