Esempio n. 1
0
 protected override void OnLocalTouchEnded(System.Numerics.Vector2 cursorPosition)
 {
     _owner.TouchEnded?.Invoke(this, new CursorEventArgs(cursorPosition.AsMonoGameVector()));
 }
Esempio n. 2
0
 protected override bool OnLocalDirectionMoved(System.Numerics.Vector2 direction)
 {
     return(OnHandlableEvent(_owner.DirectionChanged, new HandlableDirectionEventArgs(direction.AsMonoGameVector())));
 }
Esempio n. 3
0
 protected override IInteractiveInterface OnLocalTouchStarted(System.Numerics.Vector2 cursorPosition)
 {
     return(OnHandlableEventWithHandler(_owner.TouchStarted, new HandlableTouchEventArgs(cursorPosition.AsMonoGameVector())));
 }