Archived
0

add setEngine()

This commit is contained in:
2015-09-19 12:32:13 +00:00
parent 29f656ddaf
commit a1a8d6bf74

View File

@@ -13,7 +13,7 @@ public class GLText implements Renderable {
private float[] color4f = new float[] { 1f, 1f, 1f, 1f };
public GLText(String string, FontEngine engine) {
this.engine = engine;
setEngine(engine);
setString(string);
}
@@ -41,6 +41,10 @@ public class GLText implements Renderable {
return engine;
}
public void setEngine(FontEngine engine) {
this.engine = engine;
}
@Override
public String toString() {
return getClass().getCanonicalName() + "[" + getString() + "]";