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