1.7.10 Files

Files added
This commit is contained in:
KAMKEEL committed 2018-09-13 12:03:28 -04:00
1 parent 393ea9b463
commit a31efb2dc3
1768 files changed
+84831

No files matched your search

@@ -0,0 +1,16 @@
package noppes.npcs.client.gui.util;
public class GuiNpcButtonYesNo extends GuiNpcButton{
public GuiNpcButtonYesNo(int id, int x, int y, boolean bo) {
this(id, x, y, 50, 20, bo);
}
public GuiNpcButtonYesNo(int id, int x, int y, int width, int height, boolean bo) {
super(id, x, y, width, height, new String[]{"gui.no", "gui.yes"}, bo?1:0);
}
public boolean getBoolean(){
return getValue() == 1;
}
}