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