Files
narya/src/main/java/com/threerings/geom/Point.java
T
Dave Hoover 5b1e29432b Being able to easily log is good.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6649 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-06-02 22:36:04 +00:00

31 lines
512 B
Java

package com.threerings.geom;
/**
* A very simple representation of the geometric concept, because sometimes we can't use awt.
*/
public class Point
{
/** The x-coordinate. */
public int x;
/** The y-coordinate. */
public int y;
public Point ()
{
this(0, 0);
}
public Point (int x, int y)
{
this.x = x;
this.y = y;
}
@Override
public String toString ()
{
return getClass().getName() + "[x=" + x + ",y=" + y + "]";
}
}