/// <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() { scene = new Scene(); director = new Director(graphics, Content); /*Logic matchLogic = new MatchLogic(director, scene, new[] { false }); * matchLogic.Initialize(); * Screen matchScreen = new MatchScreen(director, scene, matchLogic.BaseScreenSize, new []{false}); * * director.AddLogic(matchLogic); * director.AddScreen(matchScreen);*/ Logic menuLogic = new MenuLogic(director, scene); menuLogic.Initialize(); Screen menuScreen = new DefaultScreen(director, scene, menuLogic.BaseScreenSize); director.AddLogic(menuLogic); director.AddScreen(menuScreen); // Player MatchPlayer = new Player(PlayerIndex.One, new MatchInputMapper()); base.Initialize(); }