Click or drag to resize
GameForm Constructor
Constructs the main form for containing the game display.

Namespace: (Default Namespace)
Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax
C#
public GameForm(
	GameDisplayMode mode,
	bool windowed,
	string title,
	Type initMapType,
	Type overlayMapType
)

Parameters

mode
Type: (Default Namespace)GameDisplayMode
Defines the size of the form in windowed mode and the resolution and color depth of the display in full screen mode.
windowed
Type: SystemBoolean
Determines whether the display is initially windowed or full screen.
title
Type: SystemString
Supplies a title for the window when the game is in windowed mode.
initMapType
Type: SystemType
Defines the map that is initially active when the game starts.
overlayMapType
Type: SystemType
Defines the map that in initially set as the or null if there is no overlay initially.
See Also