More PowerEntry work.
This commit is contained in:
@@ -154,7 +154,7 @@ public class PowersParser {
|
|||||||
powerAction.effect_id = arguments[0];
|
powerAction.effect_id = arguments[0];
|
||||||
powerAction.minTrains = Integer.parseInt(arguments[1]);
|
powerAction.minTrains = Integer.parseInt(arguments[1]);
|
||||||
powerAction.maxTrains = Integer.parseInt(arguments[2]);
|
powerAction.maxTrains = Integer.parseInt(arguments[2]);
|
||||||
powerAction.duration = Integer.parseInt(arguments[3]);
|
powerAction.duration = Float.parseFloat(arguments[3]);
|
||||||
powerAction.curve = mbEnums.CompoundCurveType.valueOf(arguments[4]);
|
powerAction.curve = mbEnums.CompoundCurveType.valueOf(arguments[4]);
|
||||||
powerAction.stackingCategory = arguments[5];
|
powerAction.stackingCategory = arguments[5];
|
||||||
powerAction.stackingPriority = Integer.parseInt(arguments[6]);
|
powerAction.stackingPriority = Integer.parseInt(arguments[6]);
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ public class PowerAction {
|
|||||||
public String effect_id;
|
public String effect_id;
|
||||||
public int minTrains;
|
public int minTrains;
|
||||||
public int maxTrains;
|
public int maxTrains;
|
||||||
public int duration;
|
public float duration;
|
||||||
public String stackingCategory;
|
public String stackingCategory;
|
||||||
public mbEnums.CompoundCurveType curve;
|
public mbEnums.CompoundCurveType curve;
|
||||||
public int stackingPriority;
|
public int stackingPriority;
|
||||||
|
|||||||
Reference in New Issue
Block a user