public interface CollisionArea extends CollisionObject, Sizeable
Modifier and Type | Method and Description |
---|---|
void |
forceTo(float x,
float y,
float width,
float height)
Sets the current x, y, width and height and force updates the
rendering state to match
|
int |
getRenderHeight()
Returns the render height of this object
|
int |
getRenderWidth()
Returns the render width of this object
|
forceTo, getId, getRenderX, getRenderY, interpolate, preUpdate
addSizeChangeListener, contains, contains, contains, getCenterX, getCenterY, getHeight, getMaxX, getMaxY, getMinX, getMinY, getNumberOfSides, getPolygon, getWidth, intersects, intersects, intersectsLineSegment, intersectsLineSegment, isCircle, removeSizeChangeListener, scale, setCenter, setCenterX, setCenterY, setRadius
addPostionChangeListener, getDistanceTo, getDistanceTo, getX, getY, moveTowards, moveTowards, removePositionChangeListener, setX, setXY, setY
void forceTo(float x, float y, float width, float height)
x
- The x coordinate to sety
- The y coordinate to setint getRenderWidth()
int getRenderHeight()