Add toString() method for TouchEvent

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10896 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
experimental
iwg..ic 11 years ago
parent 813d163ea7
commit f7e8f405d5
  1. 7
      engine/src/core/com/jme3/input/event/TouchEvent.java

@ -227,4 +227,11 @@ public class TouchEvent extends InputEvent {
this.scaleSpanInProgress = scaleSpanInProgress;
}
@Override
public String toString(){
return "TouchEvent(PointerId="+pointerId+", Type="+type+
", X="+posX+", Y="+posY+", DX="+deltaX+", DY="+deltaY+
", ScaleSpan="+scaleSpan+", dScaleSpan="+deltaScaleSpan+")";
}
}

Loading…
Cancel
Save