Esempio n. 1
0
 public override void BindKeys(KeyboardJS manager)
 {
     manager.Bind.Key("space",
                      () => {
                          /*keydown*/
                      },
                      () => {
                          /*keyup*/
                      });
 }
Esempio n. 2
0
        public override void BindKeys(KeyboardJS manager)
        {
            manager.Bind.Key("ctrl",
                             () => {
                                 /*keydown*/
                                 gameManager.ClickMode = ClickMode.DragMap;
                             },
                             () => {
                                 /*keyup*/
                                 gameManager.ClickMode = ClickMode.MoveCharacter;
                             });

            manager.Bind.Key("shift",
                             () => {
                                 /*keydown*/
                             },
                             () => {
                                 /*keyup*/
                             });
        }
Esempio n. 3
0
 public virtual void BindKeys(KeyboardJS manager)
 {
 }