 		 */
 		public static function inRing(x:int, y:int, innerRadius:Number, outerRadius:Number):Point
 		{
-			var ang:Number = angle;
+			var ang:Number = getAngle();
 			
 			return new Point(
 				x + Math.cos(ang) * between(innerRadius, outerRadius),

		 */
		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;
		}
		
	}

