Example #1
0
File: Line.cs Project: Cdrix/SM
 float AddToLoop()
 {
     return(UMath.GiveRandom(howFarPoints - .4f, howFarPoints + .4f));
 }
Example #2
0
File: Root.cs Project: naaturaz/SM
 private static string BohioRand()
 {
     return(bohio[UMath.GiveRandom(0, bohio.Count)]);
     //return houseMed[UMath.GiveRandom(0,1)];
 }
Example #3
0
 string ReturnRandomAttackUnit()
 {
     return(_attackUnit[UMath.GiveRandom(0, _attackUnit.Count)]);
 }
Example #4
0
 private void DefineRamdonSelection()
 {
     _romeo  = UMath.GiveRandom(1, 4);
     _bravo  = UMath.GiveRandom(1, 4);
     _pirate = UMath.GiveRandom(1, 4);
 }
Example #5
0
 void Start()
 {
     definedSpeed    = UMath.GiveRandom(minSpeed, maxSpeed);
     definedInterval = UMath.GiveRandom(minIntervalTime, maxIntervalTime);
 }