WIP objective system

This commit is contained in:
Anuken
2022-04-12 11:53:34 -04:00
parent a4ba1ed340
commit c5d89ea6bf
7 changed files with 181 additions and 20 deletions

View File

@@ -31,7 +31,11 @@ public abstract class WorldLabelComp implements Posc, Drawc, Syncc{
@Override
public void draw(){
Draw.z(z);
drawAt(text, x, y, z, flags, fontSize);
}
public static void drawAt(String text, float x, float y, float layer, int flags, float fontSize){
Draw.z(layer);
float z = Drawf.text();
Font font = (flags & flagOutline) != 0 ? Fonts.outline : Fonts.def;