first commit

This commit is contained in:
asiekierka committed 2014-03-16 22:26:43 +01:00
commit c79c767bb8
1389 files changed
+10744

No files matched your search

@@ -0,0 +1,19 @@
package info.jbcs.minecraft.gui;
public class GuiLabel extends GuiElement {
String caption;
public GuiLabel(int x, int y, int w, int h, String caption) {
super(x, y, w, h);
this.caption = caption;
}
public GuiLabel(int x, int y, String string) {
this(x, y, 0, 0, string);
}
@Override
public void render() {
gui.drawString(caption, x, y, 0x404040);
}
}