-
Notifications
You must be signed in to change notification settings - Fork 4
T_WolfCurses_SimulationApp
Maxwolf edited this page Jan 2, 2016
·
2 revisions
Base simulation application class object. This class should not be declared directly but inherited by actual instance of game controller.
System.Object
WolfCurses.SimulationApp
Namespace: WolfCurses
Assembly: WolfCurses (in WolfCurses.dll) Version: 1.0.0.0 (1.0.0.0)
C#
public abstract class SimulationApp : ITick
The SimulationApp type exposes the following members.
Name | Description | |
---|---|---|
SimulationApp | Initializes a new instance of the SimulationApp class. |
Name | Description | |
---|---|---|
AllowedWindows | Determines what windows the simulation will be capable of using and creating using the window managers factory. | |
InputManager | Handles input from the users keyboard, holds an input buffer and will push it to the simulation when return key is pressed. | |
IsClosing | Determines if the simulation is currently closing down. | |
Random | Used for rolling the virtual dice in the simulation to determine the outcome of various events. | |
SceneGraph | Shows the current state of the simulation as text only interface (TUI). Uses default constants if the attached Windows or state does not override this functionality and it is ticked. | |
WindowManager | Keeps track of the currently attached game Windows, which one is active, and getting text user interface data. |
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. | |
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 a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnFirstTick | Fired when the ticker receives the first system tick event. | |
OnPreDestroy | Called when simulation is about to destroy itself, but right before it actually does it. | |
OnPreRender | Called by the text user interface scene graph renderer before it asks the active window to render itself out for display. | |
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. | |
Restart | Creates and or clears data sets required for game simulation and attaches the travel menu and the main menu to make the program completely restarted as if fresh. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
SHOW_COMMANDS | Determines if the dynamic menu system should show the command names or only numbers. If false then only numbers will be shown. |
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