public class Bounds extends ExtendedComponent<Bounds> implements Serializable
PhysicsSystem,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
float |
maxx |
float |
maxy |
float |
minx |
float |
miny |
static Bounds |
NONE |
| Constructor and Description |
|---|
Bounds() |
| Modifier and Type | Method and Description |
|---|---|
float |
cx()
Center X
|
float |
cy()
Center Y
|
protected void |
reset() |
void |
set(Bounds bounds) |
void |
set(float minx,
float miny,
float maxx,
float maxy) |
public static final Bounds NONE
public float minx
public float miny
public float maxx
public float maxy
protected void reset()
reset in class com.artemis.PooledComponentpublic void set(float minx,
float miny,
float maxx,
float maxy)
public float cx()
public float cy()
public void set(Bounds bounds)
set in interface Mirrorable<Bounds>Copyright © 2017. All rights reserved.