public class Pos extends ExtendedComponent<Pos> implements Tweenable<Pos>
to override anchor point.,
to provide a bounding box.,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
com.badlogic.gdx.math.Vector3 |
xy |
| Constructor and Description |
|---|
Pos() |
Pos(float x,
float y) |
Pos(float x,
float y,
float z) |
| Modifier and Type | Method and Description |
|---|---|
float |
getX() |
float |
getY() |
float |
getZ() |
protected void |
reset() |
void |
set(float x,
float y) |
void |
set(float x,
float y,
float z) |
void |
set(Pos pos) |
void |
set(com.badlogic.gdx.math.Vector2 v) |
void |
set(com.badlogic.gdx.math.Vector3 v) |
void |
setX(float x) |
void |
setY(float y) |
void |
setZ(float z) |
void |
tween(Pos a,
Pos b,
float value) |
public Pos()
public Pos(float x,
float y)
public Pos(float x,
float y,
float z)
protected void reset()
reset in class com.artemis.PooledComponentpublic void set(Pos pos)
set in interface Mirrorable<Pos>public void set(float x,
float y)
public void set(float x,
float y,
float z)
public void set(com.badlogic.gdx.math.Vector2 v)
public void set(com.badlogic.gdx.math.Vector3 v)
public float getX()
public float getY()
public float getZ()
public void setX(float x)
public void setY(float y)
public void setZ(float z)
Copyright © 2017. All rights reserved.