FlixelCommunity/flixel — pull request #207 by IQAndreas (2014-05-10 11:19:24+00:00)
Title: Add 'FlxRandom' pseudo-random number generator

The

```as3
float(min:Number = 0,max:Number = 1):Number
boolean(chance:Number = 0.5):Boolean
sign(chance:Number = 0.5):int // Returns either 1 or -1
bit(chance:Number = 0.5):int // Returns either 1 or 0
integer(min:Number, max:Number = NaN):int
item(array:Array, startIndex:uint = 0, length:uint = 0):* // Pick a random item out of an array between 'startIndex' and 'length'
shuffle(array:Array, modifyArray:Boolean = true):Array
```