T_WolfCurses_WindowFactory - Maxwolf/WolfCurses GitHub Wiki
Factory pattern for creating game modes on the fly during runtime based on enumeration input parameter.
System.Object
WolfCurses.WindowFactory
Namespace: WolfCurses
Assembly: WolfCurses (in WolfCurses.dll) Version: 1.0.0.0 (1.0.0.0)
C#
public sealed class WindowFactory
The WindowFactory type exposes the following members.
Name | Description | |
---|---|---|
![]() |
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. |
Name | Description | |
---|---|---|
![]() |
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. |
![]() |
Destroy | Called when the simulation is closing down. |
![]() |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() |
ToDescriptionAttribute | Attempts to grab description attribute from any object. (Defined by AttributeExtensions.) |
Supported in: 0.1