T_WolfCurses_Form_FormFactory - Maxwolf/WolfCurses GitHub Wiki

FormFactory Class

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.

Inheritance Hierarchy

System.Object
  WolfCurses.Form.FormFactory
Namespace: WolfCurses.Form
Assembly: WolfCurses (in WolfCurses.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

public sealed class FormFactory

The FormFactory type exposes the following members.

Constructors

 

Name Description
Public method FormFactory Initializes a new instance of the FormFactory class.
  Back to Top

Methods

 

Name Description
Public method CreateStateFromType Creates and adds the specified type of state to currently active game Windows.
Public method Destroy Called when primary simulation is closing down.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
  Back to Top

Extension Methods

 

Name Description
Public Extension Method ToDescriptionAttribute Attempts to grab description attribute from any object. (Defined by AttributeExtensions.)
  Back to Top

Version Information

Wolf Curses

Supported in: 0.1

See Also

Reference

WolfCurses.Form Namespace

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