Archive eaglercraft-archive-resent-3-3-source (source, 1.8.8, clean)
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
package dev.resent.setting;
|
||||
|
||||
public class BooleanSetting extends Setting{
|
||||
public boolean value;
|
||||
|
||||
public BooleanSetting(String name, String description, boolean value) {
|
||||
super(name, description);
|
||||
this.value = value;
|
||||
this.gameSetting = false;
|
||||
}
|
||||
|
||||
public boolean getValue() { return value; }
|
||||
public void setValue(boolean value) { this.value = value; }
|
||||
public void toggle(){ this.value = !this.value;}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user