public void draw(GOut g) { super.draw(g); if (error != null) g.image( error.tex(), new Coord( CustomConfig.windowCenter.x - (error.sz().x / 2), CustomConfig.windowCenter.y + 200)); if (progress != null) g.image( progress.tex(), new Coord( CustomConfig.windowCenter.x + 20 - (progress.sz().x / 2), CustomConfig.windowCenter.y + 50)); }
public void draw(GOut g) { g.image(label.tex(), new Coord((sz.x / 2) - (label.sz().x / 2), 0)); super.draw(g); }