Rand Class
Namespace: SpaceUsurper
Inheritance: Object → Rand
Methods
| Name | Description |
|---|---|
| Chance(Single) | Returns true with a (chance * 100)% chance. |
| Direction() | |
| Flip() | |
| Float(Single, Single) | Returns a uniformly sampled float between min and max. |
| Float() | |
| Int(Int32, Int32) | Returns a uniformly sampled integer between min and max. |
| PointInRect(Rect) | |
| ShuffleArray(Int32[]) | |
| Weighted(Single[]) |