Browse Source

Rename MouseDelte -> PointerDelta

Jean-David Moisan 4 năm trước cách đây
mục cha
commit
e27cf55ba9
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      Source/MouseCondition.cs

+ 2 - 2
Source/MouseCondition.cs

@@ -62,8 +62,8 @@ namespace Apos.Input {
                 0 <= InputHelper.NewMouse.X && InputHelper.NewMouse.X <= InputHelper.WindowWidth &&
                 0 <= InputHelper.NewMouse.Y && InputHelper.NewMouse.Y <= InputHelper.WindowHeight;
 
-        ///<returns>Returns the difference between the last frame and this frame's mouse position</returns>
-        public static Point MouseDelta => InputHelper.NewMouse.Position - InputHelper.OldMouse.Position;
+        ///<returns>Returns the difference between the last frame and this frame's mouse pointer position</returns>
+        public static Point PointerDelta => InputHelper.NewMouse.Position - InputHelper.OldMouse.Position;
 
         /// <summary>
         /// The button that will be checked.