T_WolfCurses_Module - Maxwolf/WolfCurses GitHub Wiki

Module Class

Base implementation of the IModule interface which allows for some overrides to be virtual so every implementation doesn't have to use them.

Inheritance Hierarchy

System.Object
  WolfCurses.Module
    WolfCurses.InputManager
    WolfCurses.Randomizer
    WolfCurses.SceneGraph
    WolfCurses.WindowManager
Namespace: WolfCurses
Assembly: WolfCurses (in WolfCurses.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

public abstract class Module : IModule, 
	ITick

The Module type exposes the following members.

Constructors

 

Name Description
Protected method Module Initializes a new instance of the Module class.
  Back to Top

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.)
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 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

Version Information

Wolf Curses

Supported in: 0.1

See Also

Reference

WolfCurses Namespace

⚠️ **GitHub.com Fallback** ⚠️