public abstract class ScaleOperation extends java.lang.Object implements RenderOperation
Graphics.scale(float, float)
. This class must be
extended and implement
updateScale(Vector2, GameContainer, float)
Constructor and Description |
---|
ScaleOperation() |
Modifier and Type | Method and Description |
---|---|
void |
apply(GameContainer gc,
Graphics g) |
void |
interpolate(GameContainer gc,
float alpha) |
void |
unapply(GameContainer gc,
Graphics g) |
void |
update(GameContainer gc,
float delta) |
abstract void |
updateScale(com.badlogic.gdx.math.Vector2 scale,
GameContainer gc,
float delta) |
public abstract void updateScale(com.badlogic.gdx.math.Vector2 scale, GameContainer gc, float delta)
public void update(GameContainer gc, float delta)
update
in interface RenderOperation
public void interpolate(GameContainer gc, float alpha)
interpolate
in interface RenderOperation
public void apply(GameContainer gc, Graphics g)
apply
in interface RenderOperation
public void unapply(GameContainer gc, Graphics g)
unapply
in interface RenderOperation