示例#1
0
        public Gerticle() : base()
        {
            GerIndex  = GodAIUtils.GetRandomBetween(1, 10);
            GerFactor = GodAIUtils.GetRandomBetween(1, 100);


            SetColor(new OpenTK.Vector3((float)rand.NextDouble(), (float)rand.NextDouble(), (float)rand.NextDouble()));
        }
示例#2
0
        public void RandomMintoMax()
        {
            var val = GodAIUtils.GetRandomBetween(10, 100);

            Console.WriteLine(val);

            val = GodAIUtils.GetRandomBetween(1, 10);
            Console.WriteLine(val);
        }