-
Notifications
You must be signed in to change notification settings - Fork 0
RandObject
CaptainBubbles edited this page Jul 3, 2014
·
1 revision
This class can be used as a container in order to make selecting random objects easier. RandObject simply binds a probability(between 0 and 1) to an element of any type.
##Fields
The object that this RandObject contains
The probability for this RandObject to be selected by Rul.RandElement
##Constructor
Creates a new RandObject with the given object and probability