|
|
|
@ -2869,13 +2869,13 @@ public class mbEnums {
@@ -2869,13 +2869,13 @@ public class mbEnums {
|
|
|
|
|
|
|
|
|
|
private final PowerActionFunction function; |
|
|
|
|
|
|
|
|
|
// Need to figure out what this signature looks like.
|
|
|
|
|
// Identical to behaviours?
|
|
|
|
|
|
|
|
|
|
PowerActionType(PowerActionFunction function) { |
|
|
|
|
this.function = function; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Need to figure out what this signature looks like.
|
|
|
|
|
// Identical to behaviours?
|
|
|
|
|
|
|
|
|
|
public void execute() { |
|
|
|
|
function.execute(); |
|
|
|
|
} |
|
|
|
|