Methods_T_WolfCurses_Form_IForm - Maxwolf/WolfCurses GitHub Wiki

IForm Methods

The IForm type exposes the following members.

Methods

 

Name Description
Public method Compare Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other. (Inherited from IComparer(IForm).)
Public method CompareTo Compares the current object with another object of the same type. (Inherited from IComparable(IForm).)
Public method OnFormActivate Fired when the window is activated and or refocused after another window was removed from being on-top of it. Useful for re-initializing form data after something like a random event runs which might kill people or alter the vehicle inventory.
Public method OnFormPostCreate Fired after the state has been completely attached to the simulation letting the state know it can browse the user data and other properties below it.
Public method OnInputBufferReturned Fired when the game Windows current state is not null and input buffer does not match any known command.
Public method OnRenderForm Returns a text only representation of the current game Windows state. Could be a statement, information, question waiting input, etc.
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

See Also

Reference

IForm Interface
WolfCurses.Form Namespace

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