Unified signature: caster/power/rank/target
This commit is contained in:
1 parent
fc7b7eb915
commit
1a64272801
3 files changed
+64
-64
No files matched your search
@@ -1375,8 +1375,8 @@ public class mbEnums {
|
||||
|
||||
@FunctionalInterface
|
||||
public interface PowerActionFunction {
|
||||
void execute(AbstractCharacter caster, AbstractWorldObject target, Power power,
|
||||
Integer rank, PowerAction powerAction);
|
||||
void execute(AbstractCharacter caster, Power power, Integer rank, AbstractWorldObject target,
|
||||
PowerAction powerAction);
|
||||
}
|
||||
|
||||
public enum PowerActionType {
|
||||
@@ -1420,9 +1420,9 @@ public class mbEnums {
|
||||
// Need to figure out what this signature looks like.
|
||||
// Identical to behaviours?
|
||||
|
||||
public void execute(AbstractCharacter caster, AbstractWorldObject target, Power power,
|
||||
Integer rank, PowerAction powerAction) {
|
||||
function.execute(caster, target, power, rank, powerAction);
|
||||
public void execute(AbstractCharacter caster, Power power, Integer rank, AbstractWorldObject target,
|
||||
PowerAction powerAction) {
|
||||
function.execute(caster, power, rank, target, powerAction);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user