mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-25 11:04:25 +00:00
Full Imports and Code Format Optimization
This commit is contained in:
1 parent
250edf099c
commit
6815f579a7
1192 files changed
+60344
-62167
No files matched your search
@@ -1,16 +1,16 @@
|
||||
package noppes.npcs.client.gui.util;
|
||||
|
||||
public class GuiNpcButtonYesNo extends GuiNpcButton{
|
||||
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;
|
||||
}
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user