Ejemplo n.º 1
0
 public InputHandler( Game game )
 {
     this.game = game;
     RegisterInputHandlers();
     LoadMouseToKeyMappings();
     Keys = new KeyMap();
     Hotkeys = new HotkeyList();
     Hotkeys.LoadSavedHotkeys();
 }
Ejemplo n.º 2
0
 public InputHandler( Game game )
 {
     this.game = game;
     RegisterInputHandlers();
     Keys = new KeyMap();
     Hotkeys = new HotkeyList();
     Hotkeys.LoadSavedHotkeys();
     picking = new PickingHandler( game, this );
 }