Пример #1
0
 private void InputMouseMove(MouseEvent <HTMLCanvasElement> e)
 {
     Up.As <Events>().InputMove(e);
     Down.As <Events>().InputMove(e);
     Left.As <Events>().InputMove(e);
     Right.As <Events>().InputMove(e);
     Cancel.As <Events>().InputMove(e);
     Button1.As <Events>().InputMove(e);
 }
Пример #2
0
 private void InputKeyUp(KeyboardEvent e)
 {
     Up.As <Events>().InputUp(e);
     Down.As <Events>().InputUp(e);
     Left.As <Events>().InputUp(e);
     Right.As <Events>().InputUp(e);
     Cancel.As <Events>().InputUp(e);
     Button1.As <Events>().InputUp(e);
 }