public void updateGenerator()
    {
        if (generatorCoolDown == 0)
        {
            int structGenWeight;
            Random structGenRdm = new Random();
            structGenWeight = structGenRdm.nextInt(15);
        
            if (structGenWeight == 11)
            {
                int valueWeight;
                Random valueWeightRdm = new Random();
                valueWeight = valueWeightRdm.nextInt(42);
                if (valueWeight == 7)
                {
                    generate(EnumGenerationType.experienceStruct);
                }
                else if ((valueWeight > 30) && (valueWeight < 37))
                {
                    generate(EnumGenerationType.cashStruct);
                }
                else
                {
                    generate(EnumGenerationType.coinStruct);
                }
            }
            generatorCoolDown = 60;
        }
        if (generatorCoolDown > 0)
        {
            generatorCoolDown--;
        }
    }