public function random(min:Number, max:Number):Number { return Math.round(Math.random() * (max - min)) + min; }