Methods_T_WolfCurses_Window_2 - Maxwolf/WolfCurses GitHub Wiki
The Window(TCommands, TData) generic type exposes the following members.
Name | Description | |
---|---|---|
![]() |
AddCommand | Adds a new game menu selection with description pulled from attribute on input enumeration. This override is not meant for menu selections where you want to manually specify the description of the menu item, this way it will be pulled from enum description attribute. |
![]() |
ClearCommands | Forces the menu choices to be cleared out, this is used by modes like the store to refresh the data shown in the menu to match purchasing decisions. |
![]() |
ClearForm | Removes the current state from the active game Windows. |
![]() |
Compare | The compare. (Overrides Comparer(T).Compare(T, T).) |
![]() |
CompareTo(IWindow) | The compare to. |
![]() |
CompareTo(Window(TCommands, TData)) | The compare to. |
![]() |
Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() |
Equals(Window(TCommands, TData)) | The equals. |
![]() |
Equals(Window(TCommands, TData), Window(TCommands, TData)) | The equals. |
![]() |
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() | The get hash code. (Overrides Object.GetHashCode().) |
![]() |
GetHashCode(Window(TCommands, TData)) | The get hash code. |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
OnFormChange | Allows underlying parent game Windows to the state understand it changed. |
![]() |
OnModeRemoved | Fired when this game Windows is removed from the list of available and ticked modes in the simulation. |
![]() |
OnRenderWindow | Fired by simulation when it wants to request latest text user interface data for the game Windows, this is used to display to user console specific information about what the simulation wants. |
![]() |
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. |
![]() |
OnWindowActivate | Called when the Windows manager in simulation makes this Windows the currently active game Windows. Depending on order of modes this might not get called until the Windows is actually ticked by the simulation. |
![]() |
OnWindowAdded | Fired when the simulation adds a game Windows that is not this Windows. Used to execute code in other modes that are not the active Windows anymore one last time. |
![]() |
OnWindowPostCreate | Called after the Windows has been added to list of modes and made active. |
![]() |
RemoveWindowNextTick | Sets the flag for this game Windows to be removed the next time it is ticked by the simulation. |
![]() |
SendCommand | Fired by messaging system or user interface that wants to interact with the simulation by sending string input that should be able to be parsed into a valid input that can be run on the current game Windows. |
![]() |
SetForm | Creates and adds the specified type of state to currently active game Windows. |
![]() |
ToString | The to string. (Overrides Object.ToString().) |
Name | Description | |
---|---|---|
![]() |
ToDescriptionAttribute | Attempts to grab description attribute from any object. (Defined by AttributeExtensions.) |