public class ScreenEffectManager extends Object implements com.badlogic.gdx.utils.Disposable
| Constructor and Description |
|---|
ScreenEffectManager() |
| Modifier and Type | Method and Description |
|---|---|
<T extends ScreenEffect> |
add(Class<T> effectType)
Get / Add / Remove
|
<T extends ScreenEffect> |
add(Class<T> effectType,
boolean isLocalEffect) |
void |
dispose()
cleanup
|
<T extends ScreenEffect> |
get(Class<T> effectType) |
void |
onAppPause()
events
|
void |
onAppResume() |
void |
onRenderGlobal(float interpolation) |
void |
onRenderLocal(float interpolation) |
void |
onResize() |
void |
onUpdateFrame(float delta) |
void |
onUpdateGameState(float delta) |
<T extends ScreenEffect> |
remove(Class<T> effectType) |
void |
removeAll() |
public <T extends ScreenEffect> T add(Class<T> effectType)
public <T extends ScreenEffect> T add(Class<T> effectType, boolean isLocalEffect)
public <T extends ScreenEffect> T get(Class<T> effectType)
public <T extends ScreenEffect> void remove(Class<T> effectType)
public void removeAll()
public void onAppPause()
public void onAppResume()
public void onResize()
public void onRenderLocal(float interpolation)
public void onRenderGlobal(float interpolation)
public void onUpdateGameState(float delta)
public void onUpdateFrame(float delta)
public void dispose()
dispose in interface com.badlogic.gdx.utils.DisposableCopyright © 2022. All rights reserved.