More poweraction parsing work.
This commit is contained in:
@@ -128,9 +128,9 @@ public class PowerActionParser {
|
||||
statTransfer = new StatTransfer();
|
||||
statTransfer.fromStat = mbEnums.CostType.valueOf(headerIterator.next());
|
||||
statTransfer.toStat = mbEnums.CostType.valueOf(headerIterator.next());
|
||||
statTransfer.fromStatValue = Integer.parseInt(headerIterator.next());
|
||||
statTransfer.fromStatValue = Float.parseFloat(headerIterator.next());
|
||||
statTransfer.fromCurve = mbEnums.CompoundCurveType.valueOf(headerIterator.next());
|
||||
statTransfer.toStatValue = Integer.parseInt(headerIterator.next());
|
||||
statTransfer.toStatValue = Float.parseFloat(headerIterator.next());
|
||||
statTransfer.toCurve = mbEnums.CompoundCurveType.valueOf(headerIterator.next());
|
||||
statTransfer.fromStatBool = Boolean.parseBoolean(headerIterator.next());
|
||||
statTransfer.toStatBool = Boolean.parseBoolean(headerIterator.next());
|
||||
|
||||
@@ -12,10 +12,10 @@ import engine.mbEnums;
|
||||
|
||||
public class StatTransfer {
|
||||
public mbEnums.CostType fromStat;
|
||||
public int fromStatValue;
|
||||
public float fromStatValue;
|
||||
public mbEnums.CompoundCurveType fromCurve;
|
||||
public mbEnums.CostType toStat;
|
||||
public int toStatValue;
|
||||
public float toStatValue;
|
||||
public mbEnums.CompoundCurveType toCurve;
|
||||
public boolean fromStatBool;
|
||||
public boolean toStatBool;
|
||||
|
||||
Reference in New Issue
Block a user