clean up, power ammo bar

This commit is contained in:
Sharlotte
2021-07-15 09:38:31 +09:00
parent d7519fb3f9
commit 72b3fdb92a
8 changed files with 74 additions and 147 deletions

View File

@@ -14,12 +14,12 @@ import mindustry.graphics.*;
import mindustry.ui.*;
public class SBar extends Element{
private static Rect scissor = new Rect();
private static final Rect scissor = new Rect();
private Floatp fraction;
private String name = "";
private float value, lastValue, blink;
private Color blinkColor = new Color();
private final Color blinkColor = new Color();
private boolean valid = true;
public SBar(String name, Color color, Floatp fraction){