N_WolfCurses_Form - Maxwolf/WolfCurses GitHub Wiki

WolfCurses.Form Namespace

Attached to windows, forms require you assign their parent window using an attribute so they can be reflected over during runtime.

Classes

 

Class Description
Public class Form(TData) Forms are attached to windows.
Public class FormFactory Keeps track of all the possible states a given game Windows can have by using attributes and reflection to keep track of which user data object gets mapped to which particular state.
Public class ParentWindowAttribute Used to map game Windows states to their respective parent modes by Windows type enumeration value. All of this is done by the state factory which is called by the base simulation whom also keeps track of all the game modes in similar manner. After startup we will add to that data by telling what possible states may exist for a particular game Windows and what user data IModeInfo object will be created.

Interfaces

 

Interface Description
Public interface IForm Defines interface for game mode state which can show data, accept input, add new game modes, set new state, and have user data custom per implementation.
 
⚠️ **GitHub.com Fallback** ⚠️