public class Angle extends ExtendedComponent<Angle> implements Tweenable<Angle>
AnimRenderSystem,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static Angle |
NONE |
static int |
ORIGIN_AUTO |
int |
ox
Deprecated.
|
int |
oy
Deprecated.
|
float |
rotation
Rotation of animation.
|
| Constructor and Description |
|---|
Angle() |
Angle(float rotation) |
Angle(float rotation,
int ox,
int oy) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
reset() |
void |
rotate(float angle) |
void |
set(Angle angle) |
void |
tween(Angle a,
Angle b,
float value) |
public static final int ORIGIN_AUTO
public static final Angle NONE
public float rotation
@Deprecated public int ox
@Deprecated public int oy
public Angle(float rotation)
public Angle(float rotation,
int ox,
int oy)
public Angle()
protected void reset()
reset in class com.artemis.PooledComponentpublic void rotate(float angle)
public void set(Angle angle)
set in interface Mirrorable<Angle>Copyright © 2017. All rights reserved.