public class CircleBoundsComponent
extends java.lang.Object
implements com.badlogic.ashley.core.Component, com.badlogic.gdx.utils.Pool.Poolable
| Modifier and Type | Field and Description |
|---|---|
com.badlogic.gdx.math.Circle |
circle |
com.badlogic.gdx.math.Vector2 |
offset |
| Constructor and Description |
|---|
CircleBoundsComponent() |
| Modifier and Type | Method and Description |
|---|---|
static CircleBoundsComponent |
create(com.badlogic.ashley.core.Engine engine) |
void |
reset() |
CircleBoundsComponent |
setCircle(float x,
float y,
float radius) |
CircleBoundsComponent |
setOffset(float x,
float y) |
public com.badlogic.gdx.math.Circle circle
public com.badlogic.gdx.math.Vector2 offset
public static CircleBoundsComponent create(com.badlogic.ashley.core.Engine engine)
public CircleBoundsComponent setCircle(float x, float y, float radius)
public CircleBoundsComponent setOffset(float x, float y)
public void reset()
reset in interface com.badlogic.gdx.utils.Pool.Poolable