Cleanup, re-implementations

This commit is contained in:
Anuken
2020-04-24 11:01:17 -04:00
parent 018fe5dea2
commit 1b2e10d355
7 changed files with 63 additions and 97 deletions

View File

@@ -221,6 +221,19 @@ public class Renderer implements ApplicationListener{
}
Draw.draw(Layer.plans, overlays::drawBottom);
if(settings.getBool("animatedshields")){
Draw.drawRange(Layer.shields, 1f, () -> effectBuffer.begin(Color.clear), () -> {
effectBuffer.end();
Draw.shader(Shaders.shield);
Draw.color(Pal.accent);
Draw.rect(effectBuffer);
Draw.color();
Draw.shader();
});
}
Draw.draw(Layer.overlayUI, overlays::drawTop);
Draw.draw(Layer.space, this::drawLanding);