This commit is contained in:
Anuken
2022-04-18 22:07:18 -04:00
parent 7fd470c1cb
commit 41865631ed
2 changed files with 14 additions and 12 deletions

View File

@@ -32,9 +32,10 @@ public class WrapEffect extends Effect{
@Override
public void render(EffectContainer e){
e.color = color;
if(!Float.isNaN(rotation)) e.rotation = rotation;
effect.render(e);
clip = Math.max(clip, effect.clip);
}
@Override
public void create(float x, float y, float rotation, Color color, Object data){
effect.create(x, y, this.rotation, this.color, data);
}
}