@@ -0,0 +1,637 @@
+package ca.blarg.gdx.graphics.screeneffects;%0A%0Aimport com.badlogic.gdx.graphics.Color;%0A%0Apublic class ScreenEffectHelpers %7B%0A%09public static boolean doFadingTransition(ScreenEffectManager effectManager, boolean isTransitioningOut, boolean started) %7B%0A%09%09if (started) %7B%0A%09%09%09FadeScreenEffect fade = effectManager.add(FadeScreenEffect.class, false);%0A%09%09%09if (isTransitioningOut)%0A%09%09%09%09fade.fadeOut(1.0f, Color.BLACK, 0.01f);%0A%09%09%09else%0A%09%09%09%09fade.fadeIn(0.0f, Color.BLACK, 0.01f);%0A%09%09%7D else %7B%0A%09%09%09if (effectManager.get(FadeScreenEffect.class).isDoneFading()) %7B%0A%09%09%09%09effectManager.remove(FadeScreenEffect.class);%0A%09%09%09%09return true;%0A%09%09%09%7D%0A%09%09%7D%0A%09%09return false;%0A%09%7D%0A%7D%0A

add helper class for some simple screen effect transition abstraction