T_WolfCurses_IModule - Maxwolf/WolfCurses GitHub Wiki

IModule Interface

The Module interface.

Namespace: WolfCurses
Assembly: WolfCurses (in WolfCurses.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

public interface IModule : ITick

The IModule 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 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 ITick.)
  Back to Top

Version Information

Wolf Curses

Supported in: 0.1

See Also

Reference

WolfCurses Namespace

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