public abstract class TintOperation extends java.lang.Object implements RenderOperation
Graphics.setTint(Color)
. This class must be
extended and implement updateTint(Color, GameContainer, float)
Constructor and Description |
---|
TintOperation() |
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 |
updateTint(com.badlogic.gdx.graphics.Color tint,
GameContainer gc,
float delta) |
public abstract void updateTint(com.badlogic.gdx.graphics.Color tint, 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