-
Notifications
You must be signed in to change notification settings - Fork 4
T_WolfCurses_Randomizer
Maxwolf edited this page Jan 2, 2016
·
2 revisions
Used for rolling the virtual dice in the simulation to determine the outcome of various events.
System.Object
WolfCurses.Module
WolfCurses.Randomizer
Namespace: WolfCurses
Assembly: WolfCurses (in WolfCurses.dll) Version: 1.0.0.0 (1.0.0.0)
C#
public sealed class Randomizer : Module
The Randomizer type exposes the following members.
Name | Description | |
---|---|---|
Randomizer | Initializes a new instance of the Randomizer class. Initializes a new instance of the ModuleProduct class. |
Name | Description | |
---|---|---|
Destroy | Fired when the simulation is closing and needs to clear out any data structures that it created so the program can exit cleanly. (Overrides Module.Destroy().) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Next() | C64 style RND with 0 would return clock timer 0 - 60 number so we do the same here for simulation. | |
Next(Int32) | Returns a nonnegative random number less than the specified maximum. | |
Next(Int32, Int32) | Returns a random number within a specified range. | |
NextBool | Returns a random Boolean value. | |
NextBytes | Fills the elements of a specified array of bytes with random numbers. | |
NextDouble | Returns a random number between 0.0 and 1.0. | |
OnTick | Called when the simulation is ticked by underlying operating system, game engine, or potato. Each of these system ticks is called at unpredictable rates, however if not a system tick that means the simulation has processed enough of them to fire off event for fixed interval that is set in the core simulation by constant in milliseconds. (Inherited from Module.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
ToDescriptionAttribute | Attempts to grab description attribute from any object. (Defined by AttributeExtensions.) |
Supported in: 0.1
WolfCurses API
Created by Ron 'Maxwolf' McDowell
Send comments on this topic to [ron.mcdowell@gmail.com](mailto:ron.mcdowell%40gmail.com?Subject=WolfCurses API)- Project Overview
- Namespace List
- ArrayExtensions
- AttributeExtensions
- EnumerableExtension
- Methods
- IModule
- InputManager
- ITick
- IWindow
- Module
- Randomizer
- SceneGraph
- SimulationApp
- StringExtensions
- TypeExtensions
- Window(TCommands, TData)
- WindowData
- WindowFactory
- WindowManager
- Control Namespace
- MarqueeBar
- TextProgress
- Form Namespaces
- Form Namespace
- Form(TData)
- FormFactory
- IForm Interface
- ParentWindowAttribute Class
- Form.Input Namespace
- DialogResponse Enumeration
- DialogType Enumeration
- InputForm(T) Class
- Menu Namespace
- IMenuChoice(T) Interface
- MenuChoice(T) Class