public moveBy ( float x, float y ) : void | ||
x | float | The x coordinate. |
y | float | The y coordinate. |
return | void |
public void moveBy( float x, float y )
{
if( x != 0 || y != 0 )
{
this.x += x;
this.y += y;
positionChanged();
}
}