소스 검색

Add wheel values to toString() for MouseMotionEvent

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10895 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
iwg..ic 12 년 전
부모
커밋
813d163ea7
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      engine/src/core/com/jme3/input/event/MouseMotionEvent.java

+ 2 - 1
engine/src/core/com/jme3/input/event/MouseMotionEvent.java

@@ -103,7 +103,8 @@ public class MouseMotionEvent extends InputEvent {
 
     @Override
     public String toString(){
-        return "MouseMotion(X="+x+", Y="+y+", DX="+dx+", DY="+dy+")";
+        return "MouseMotion(X="+x+", Y="+y+", DX="+dx+", DY="+dy+
+                ", Wheel="+wheel+", dWheel="+deltaWheel+")";
     }
 
 }