예제 #1
0
        public virtual void PointerMoved(Vector2 position, GameTime gameTime)
        {
            bool res = UIWindowManager.PointerMoved(position, gameTime);

            if (res == false)
            {
                // Event was not handled by UI
                if (isMouseCaptured)
                {
                    res = CurrentController?.PointerMoved(position) ?? false;

                    if (res == false)
                    {
                        CurrentCamera?.PointerMoved(position);
                    }

                    Mouse.SetPosition((int)lastMousePos.X, (int)lastMousePos.Y);
                }
            }
        }
예제 #2
0
 internal override void PointerMoved(Vector2 position)
 {
     UIWindowManager.PointerMoved(position);
 }
예제 #3
0
 internal override void PointerMoved(Microsoft.Xna.Framework.Vector2 position)
 {
     UIWindowManager.PointerMoved(position);
 }