More powerAction work.
This commit is contained in:
@@ -126,7 +126,13 @@ public class PowersParser {
|
|||||||
powerAction = new PowerAction();
|
powerAction = new PowerAction();
|
||||||
arguments = lineValues[1].trim().split(" ");
|
arguments = lineValues[1].trim().split(" ");
|
||||||
powerAction.effect_id = arguments[0];
|
powerAction.effect_id = arguments[0];
|
||||||
|
powerAction.minTrains = Integer.parseInt(arguments[1]);
|
||||||
|
powerAction.maxTrains = Integer.parseInt(arguments[2]);
|
||||||
|
powerAction.duration = Integer.parseInt(arguments[3]);
|
||||||
|
powerAction.stackingCategory = arguments[4];
|
||||||
|
powerAction.curve = mbEnums.CompoundCurveType.valueOf(arguments[5]);
|
||||||
|
powerAction.stackingPriority = Integer.parseInt(arguments[6]);
|
||||||
|
powerAction.categoryToPower = mbEnums.CategoryToPowerType.valueOf(arguments[7]);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ public class PowerAction {
|
|||||||
public int minTrains;
|
public int minTrains;
|
||||||
public int maxTrains;
|
public int maxTrains;
|
||||||
public int duration;
|
public int duration;
|
||||||
public String StackingCategory;
|
public String stackingCategory;
|
||||||
public mbEnums.CompoundCurveType curve;
|
public mbEnums.CompoundCurveType curve;
|
||||||
public int stackingPriority;
|
public int stackingPriority;
|
||||||
public mbEnums.CategoryToPowerType categoryToPower;
|
public mbEnums.CategoryToPowerType categoryToPower;
|
||||||
|
|||||||
Reference in New Issue
Block a user