Example #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));
 }
 public BlockCollisionResponder(Game1 game)
 {
     this.game = game;
 }
Example #3
0
 public ResetSceneCommand(Game1 game)
 {
     this.game = game;
 }