 		 */
 		public static function between(min:Number, max:Number):Number
 		{
-			return min + (max - min) * base;
+			return min + (max - min) * getBase();
 		}
 		
 		

		 */
		public static function roll(chance:Number):Boolean
		{
			return base <= chance;
		}
		
		

		 */
		public static function fromArray(array:Array):*
		{
			return array[int(getBase() * array.length)];
		}
		
		
		/**
		 * A random number between 0 and 1, not including 1.
		 */
		public static function getBase():Number
		{
			return Math.random();
		}
		
		
		/**
		 * A random angle, in radians.
		 */
		public static function getAngle():Number
		{
			return getBase() * Math.PI * 2;
		}
		
	}

