IJobPuppet:

-Added allEnabled function for setting all parts as enabled.
This commit is contained in:
Luis C.M committed 2023-01-08 23:29:31 -06:00
1 parent 54d89bab39
commit 01848e82c8
1 file changed
+6
@@ -31,6 +31,12 @@ public class ScriptJobPuppet extends ScriptJobInterface implements IJobPuppet {
return null;
}
public void allEnabled(boolean enabled) {
for (int i = 0; i < 6; i++) {
this.getPart(i).setEnabled(enabled);
}
}
public void allAnimated(boolean animated) {
for (int i = 0; i < 6; i++) {
this.getPart(i).setAnimated(animated);