PlayerLuck Class |
Namespace: JLChnToZ.LuckyPlayer
The PlayerLuck type exposes the following members.
Name | Description | |
---|---|---|
PlayerLuck |
Constructor with initial 1 luckyness defiend.
| |
PlayerLuck(Double) |
Constructor with custom luckyness defined.
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
HandleWithLuckT(WeightedCollectionT, Double) |
Gets a random item from the collection from random value given by caller, and do further process for luckyness adjustment.
| |
HandleWithLuckT(WeightedCollectionT, Random) |
Gets a random item from the collection, and do further process for luckyness adjustment.
| |
LuckyControl | ||
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
luckyness | ||
randomizer |