Class GameContext<TK>
Generic version of GameContext. The later is used to describe a generic game Context. This version enables us to constraint the game context to a specifc toolkit and ensures a better cohesion between the various toolkit specific classes, such as InputManager, GameWindow.
public abstract class GameContext<TK> : GameContext
  Type Parameters
TK
- Inheritance
 - 
      objectGameContext<TK>
 
- Derived
 
- Inherited Members
 
Constructors
GameContext(TK, int, int, bool)
Initializes a new instance of the GameContext class.
protected GameContext(TK control, int requestedWidth = 0, int requestedHeight = 0, bool isUserManagingRun = false)
  Parameters
controlTKThe control.
requestedWidthintWidth of the requested.
requestedHeightintHeight of the requested.
isUserManagingRunbool
Properties
Control
Underlying control associated with context.
public TK Control { get; }
  Property Value
- TK