Ejemplo n.º 1
0
        public void AddBuyedGeneratorCount(GeneratorInfo generator, int count)
        {
            int oldCount = buyedGeneratorCount;

            buyedGeneratorCount += count;
            if (oldCount != buyedGeneratorCount)
            {
                GameEvents.OnGeneratorLevelUpdated(generator.GeneratorId);
            }
        }