protected override void LoadContent() { graphics = new SharpDXGraphics(GraphicsDevice); resources = new ResourceCache(this); grid = new GridComponent(this); grid.Initialize(); base.LoadContent(); }
protected override void OnLoad(EventArgs e) { // setup settings, load textures, sounds VSync = VSyncMode.On; Title = "Alliance"; Width = 800; Height = 600; graphics = new OpenGLGraphics(); grid = new GridComponent(this); grid.Initialize(); base.OnLoad(e); }