Пример #1
0
 public EditHotkeyScreen( Game game, Hotkey original )
     : base(game)
 {
     hotkeys = game.InputHandler.Hotkeys;
     origHotkey = original;
     curHotkey = original;
 }
Пример #2
0
 public InputHandler( Game game )
 {
     this.game = game;
     RegisterInputHandlers();
     LoadMouseToKeyMappings();
     Keys = new KeyMap();
     Hotkeys = new HotkeyList();
     Hotkeys.LoadSavedHotkeys();
 }
 public InputHandler( Game game )
 {
     this.game = game;
     RegisterInputHandlers();
     Keys = new KeyMap();
     Hotkeys = new HotkeyList();
     Hotkeys.LoadSavedHotkeys();
     picking = new PickingHandler( game, this );
 }
Пример #4
0
 public HotkeyScreen( Game game )
     : base(game)
 {
     hotkeys = game.InputHandler.Hotkeys;
 }