Added Rectangle.toString()

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9949 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
PSp..om 2012-11-04 06:57:29 +00:00
parent bf782ac840
commit b9274a3ed2

View File

@ -61,4 +61,8 @@ public class Rectangle implements Cloneable {
throw new AssertionError();
}
}
public String toString() {
return getClass().getSimpleName() + "[x=" + x + ", y=" + y + ", width=" + width + ", height=" + height + "]";
}
}