public class Origin extends ExtendedComponent<Origin> implements Tweenable<Origin>
| Modifier and Type | Field and Description |
|---|---|
com.badlogic.gdx.math.Vector3 |
xy |
| Constructor and Description |
|---|
Origin() |
Origin(float x,
float y) |
Origin(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(Origin o) |
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(Origin a,
Origin b,
float value) |
public Origin()
public Origin(float x,
float y)
public Origin(float x,
float y,
float z)
protected void reset()
reset in class com.artemis.PooledComponentpublic void set(Origin o)
set in interface Mirrorable<Origin>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.