T_WolfCurses_WindowFactory - Maxwolf/WolfCurses GitHub Wiki

WindowFactory Class

Factory pattern for creating game modes on the fly during runtime based on enumeration input parameter.

Inheritance Hierarchy

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

Syntax

C#

public sealed class WindowFactory

The WindowFactory type exposes the following members.

Constructors

 

Name Description
Public method WindowFactory Initializes a new instance of the WindowFactory class. Creates a new Windows factory that will look over the application for all known game types and create reference list which we can use to get instances of a given Windows by asking for it.
  Back to Top

Methods

 

Name Description
Public method CreateWindow Change to new view Windows when told that internal logic wants to display view options to player for a specific set of data in the simulation.
Public method Destroy Called when the 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 Namespace

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