/// <summary> /// Allows the game to perform any initialization it needs to before starting to run. /// This is where it can query for any required services and load any non-graphic /// related content. Calling base.Initialize will enumerate through any components /// and initialize them as well. /// </summary> protected override void Initialize() { // TODO: Add your initialization logic here camera = new Camera(this,new Vector3(0,25,150),new Vector3(0,25,0), Vector3.Up); Components.Add(camera); modelManger = new ModelManager(this); Components.Add(modelManger); this.IsMouseVisible = true; base.Initialize(); }
protected override void Initialize() { camera = new Camera(this, new Vector3(800, 400, 900), new Vector3(0, 50, 0), Vector3.Up); Components.Add(camera); modelManager = new ModelManager(this); Components.Add(modelManager); this.IsMouseVisible = true; base.Initialize(); }