Add toString() method for TouchEvent
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10896 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
@@ -227,4 +227,11 @@ public class TouchEvent extends InputEvent {
|
|||||||
this.scaleSpanInProgress = scaleSpanInProgress;
|
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+")";
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user