public interface CollisionObject extends Positionable, Interpolatable
| Modifier and Type | Method and Description | 
|---|---|
| void | forceTo(float x,
       float y)Sets the current x and y coordinate to the specified x and y and force updates the
 rendering position to match | 
| int | getId()Returns the unique id of this object | 
| int | getRenderX()Returns the render x coordinate of this object | 
| int | getRenderY()Returns the render y coordinate of this object | 
| void | interpolate(float alpha)Called during interpolate phase each interpolate() | 
| void | preUpdate()Called at the start of each update() before any changes are made to this object | 
addPostionChangeListener, getDistanceTo, getDistanceTo, getX, getY, moveTowards, moveTowards, removePositionChangeListener, setX, setXY, setYint getId()
void preUpdate()
preUpdate in interface Interpolatablevoid interpolate(float alpha)
interpolate in interface Interpolatablealpha - The alpha value between 0.0 and 1.0void forceTo(float x,
             float y)
x - The x coordinate to sety - The y coordinate to setint getRenderX()
int getRenderY()