/// <summary>
 /// Constructs a new screen manager component.
 /// </summary>
 public ScreenManager(GameStateManagementGame game)
     : base((Game)game)
 {
     Game = game;
     // we must set EnabledGestures before we can query for them, but
     // we don't assume the game wants to read them.
     TouchPanel.EnabledGestures = GestureType.None;
 }
Beispiel #2
0
 static void Main()
 {
     using (GameStateManagementGame game = new GameStateManagementGame())
     {
         game.Run();
     }
 }