Interface IGamePlatform
Interface for a game platform (OS, machine dependent).
public interface IGamePlatform
  Properties
DefaultAppDirectory
Gets the default app directory.
string DefaultAppDirectory { get; }
  Property Value
- string
 The default app directory.
MainWindow
Gets the main window.
GameWindow MainWindow { get; }
  Property Value
- GameWindow
 The main window.
Methods
CreateWindow(GameContext)
Creates the a new GameWindow. See remarks.
GameWindow CreateWindow(GameContext gameContext = null)
  Parameters
gameContextGameContextThe window context. See remarks.
Returns
- GameWindow
 A new game window.
Remarks
This is currently only supported on Windows Desktop. The window context supported on windows is a subclass of System.Windows.Forms.Control (or null and a default GameForm will be created).