/// <summary> /// Constructor. /// Use Initialize() or Load() where possible. /// </summary> public ServerEngine(ServerEngineConsole serverConsole) { ServerConsole = serverConsole; // Initialize GraphicsDeviceManager GraphicsDeviceManager = new GraphicsDeviceManager(this) { PreferredBackBufferWidth = (int)ScreenSize.X, PreferredBackBufferHeight = (int)ScreenSize.Y }; // Show cursor IsMouseVisible = true; }
static void Main() { var serverEngineConsole = new ServerEngineConsole(); serverEngineConsole.Run(); }