Added Rectangle.toString()
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9949 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
bf782ac840
commit
b9274a3ed2
@ -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 + "]";
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user