예제 #1
0
 /// <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;
 }
예제 #2
0
 static void Main()
 {
     using (GameStateManagementGame game = new GameStateManagementGame())
     {
         game.Run();
     }
 }