コード例 #1
0
    public override void OnTouchStart(Game game_, TouchEventArgs e)
    {
        MouseEventArgs args = new MouseEventArgs();

        args.SetX(e.GetX());
        args.SetY(e.GetY());
        OnMouseDown(game_, args);
        e.SetHandled(args.GetHandled());
    }
コード例 #2
0
 public override void OnTouchStart(Game game_, TouchEventArgs e)
 {
     MouseEventArgs args = new MouseEventArgs();
     args.SetX(e.GetX());
     args.SetY(e.GetY());
     OnMouseDown(game_, args);
     e.SetHandled(args.GetHandled());
 }
コード例 #3
0
 public void ScreenOnTouchStart(TouchEventArgs e)
 {
     e.SetHandled(MouseDown(e.GetX(), e.GetY()));
 }