Skip to content

Methods_T_WolfCurses_SimulationApp

Maxwolf edited this page Jan 2, 2016 · 2 revisions

SimulationApp Methods

The SimulationApp type exposes the following members.

Methods

 

Name Description
Public method Destroy Fired when the simulation is closing and needs to clear out any data structures that it created so the program can exit cleanly.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnFirstTick Fired when the ticker receives the first system tick event.
Protected method OnPreDestroy Called when simulation is about to destroy itself, but right before it actually does it.
Public method OnPreRender Called by the text user interface scene graph renderer before it asks the active window to render itself out for display.
Public method 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.
Public method 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.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
  Back to Top

Extension Methods

 

Name Description
Public Extension Method ToDescriptionAttribute Attempts to grab description attribute from any object. (Defined by AttributeExtensions.)
  Back to Top

See Also

Reference

SimulationApp Class
WolfCurses Namespace

Clone this wiki locally