public class QuadTreeAwareCollisionCircle extends CollisionCircle implements QuadTreeAware
CollisionCircle which implements QuadTreeAware in order to allow QuadTreeSearchDirection.UPWARDS search.positionChangeListeners, sizeChangeListeners| Constructor and Description |
|---|
QuadTreeAwareCollisionCircle(CollisionCircle circle) |
QuadTreeAwareCollisionCircle(float radius) |
QuadTreeAwareCollisionCircle(float centerX,
float centerY,
float radius) |
QuadTreeAwareCollisionCircle(int id,
float radius) |
QuadTreeAwareCollisionCircle(int id,
float centerX,
float centerY,
float radius) |
| Modifier and Type | Method and Description |
|---|---|
QuadTree |
getQuad()
Returns the
QuadTree where this object is located. |
void |
setQuad(QuadTree quadTree)
Sets the
QuadTree where this object is located. |
addPostionChangeListener, addSizeChangeListener, clearPositionChangeListeners, clearSizeChangeListeners, dispose, equals, forceTo, forceTo, getId, getRenderHeight, getRenderRadius, getRenderWidth, getRenderX, getRenderY, hashCode, interpolate, notifyPositionChangeListeners, notifySizeChangeListeners, positionChanged, preUpdate, removePositionChangeListener, removeSizeChangeListener, sizeChanged, toStringcontains, contains, contains, contains, contains, contains, copy, draw, edgeIterator, fill, getBoundingBox, getCenterX, getCenterY, getDistanceFromCenter, getDistanceFromCenter, getDistanceTo, getHeight, getMaxX, getMaxY, getMinX, getMinY, getNumberOfSides, getPolygon, getRadius, getRotation, getWidth, getX, getY, intersects, intersects, intersects, intersectsLineSegment, intersectsLineSegment, isCircle, lerp, rotate, rotateAround, scale, set, setCenter, setCenterX, setCenterY, setRadius, setRotation, setRotationAround, setX, setXY, setY, translateadd, clearPositionListeners, clearPositionListeners, clearSizeListeners, clearSizeListeners, getDistanceTo, intersects, moveTowards, moveTowards, notifyPositionListeners, notifyPositionListeners, notifySizeListeners, notifySizeListeners, removePositionListener, removePositionListener, removeSizeListener, removeSizeListener, setRotationAround, subtractclone, finalize, getClass, notify, notifyAll, wait, wait, waitcontains, contains, contains, getCenterX, getCenterY, getHeight, getMaxX, getMaxY, getMinX, getMinY, getNumberOfSides, getPolygon, getWidth, intersects, intersects, intersectsLineSegment, intersectsLineSegment, isCircle, scale, setCenter, setCenterX, setCenterY, setRadiusgetDistanceTo, getDistanceTo, getX, getY, moveTowards, moveTowards, setX, setXY, setYpublic QuadTreeAwareCollisionCircle(float radius)
public QuadTreeAwareCollisionCircle(int id,
float radius)
public QuadTreeAwareCollisionCircle(float centerX,
float centerY,
float radius)
public QuadTreeAwareCollisionCircle(int id,
float centerX,
float centerY,
float radius)
public QuadTreeAwareCollisionCircle(CollisionCircle circle)
public QuadTree getQuad()
QuadTreeAwareQuadTree where this object is located. You can call this method in order to get the QuadTree on which you can do QuadTreeSearchDirection.UPWARDS search.getQuad in interface QuadTreeAwarepublic void setQuad(QuadTree quadTree)
QuadTreeAwareQuadTree where this object is located. Automatically called by QuadTree.add(T) methods.
NOTE: Internal use only.setQuad in interface QuadTreeAwarequadTree - The QuadTree where this object is located.