/** * Sets the current text colour. * * @param col Text colour */ public void setColour(Colour col) { Check.notNull(col); this.col = col; }
/** * Constructor. * * @param font Font properties */ public TextBuilder(TextureFont font) { Check.notNull(font); this.font = font; builder = new MeshBuilder(MeshLayout.create(Primitive.TRIANGLES, "+VC0", false)); builder.allocate(256); // TODO }