/ Published in: ActionScript 3
Expand |
Embed | Plain Text
private function randRange(minNum:Number, maxNum:Number):Number { return (Math.floor(Math.random() * (maxNum - minNum + 1)) + minNum); }
You need to login to post a comment.
zeman on 04/22/09
1 person have marked this snippet as a favorite
private function randRange(minNum:Number, maxNum:Number):Number { return (Math.floor(Math.random() * (maxNum - minNum + 1)) + minNum); }
You need to login to post a comment.