Interface IGamePlatform
Interface for a game platform (OS, machine dependent).
public interface IGamePlatformProperties
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
- gameContextGameContext
- The 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).