public EngineMain() { #region Setup graphics = new GraphicsDeviceManager(this); Content.RootDirectory = "Content/Resources"; ScreenWidth = 1600; ScreenHeight = 900; graphics.PreferredBackBufferWidth = ScreenWidth; graphics.PreferredBackBufferHeight = ScreenHeight; this.IsMouseVisible = true; // Setting screen to middle Window.Position = new Point ((GraphicsAdapter.DefaultAdapter.CurrentDisplayMode.Width / 2) - (graphics.PreferredBackBufferWidth / 2), (GraphicsAdapter.DefaultAdapter.CurrentDisplayMode.Height / 2) - (graphics.PreferredBackBufferHeight / 2)); #endregion sceneManager = new SceneManager(Content); entityManager = new EntityManager(); }