protected override void Initialize() { graphics.PreferredBackBufferWidth = screenResolutionWidth; graphics.PreferredBackBufferHeight = screenResolutionHeight; //graphics.IsFullScreen = true; graphics.ApplyChanges(); this.IsMouseVisible = true; aColor = Color.White; debugText = new TextDisplay(this.Content, "test", new Vector2(0, 20)); anEntity = new Entity(); anEntity.EntityPosition = new Vector2(100, 100); anEntity.AColor = Color.Red; base.Initialize(); }
protected override void Initialize() { graphics.PreferredBackBufferWidth = screenResolutionWidth; graphics.PreferredBackBufferHeight = screenResolutionHeight; //graphics.IsFullScreen = true; graphics.ApplyChanges(); this.IsMouseVisible = true; aColor = Color.White; debugText = new TextDisplay(this.Content, "test", new Vector2(0, 20)); anEntity = new Entity(); anEntity.EntityPosition = new Vector2(100,100); anEntity.AColor = Color.Red; base.Initialize(); }