Пример #1
0
 public PauseMenuKeyController(Game1 game)
 {
     commandLibrary = new Dictionary <Keys, ICommands>();
     commandLibrary.Add(Keys.Enter, currentCommand = new PauseCommand(game));
     commandLibrary.Add(Keys.Q, currentCommand     = new QuitCommand(game));
 }
Пример #2
0
 public BlockCollisionResponder(Game1 game)
 {
     this.game = game;
 }
Пример #3
0
 public ResetSceneCommand(Game1 game)
 {
     this.game = game;
 }