N_WolfCurses_Form - Maxwolf/WolfCurses GitHub Wiki
Attached to windows, forms require you assign their parent window using an attribute so they can be reflected over during runtime.
Class | Description | |
---|---|---|
![]() |
Form(TData) | Forms are attached to windows. |
![]() |
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. |
![]() |
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. |
Interface | Description | |
---|---|---|
![]() |
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. |