PowerActionEntry parsing work.
This commit is contained in:
@@ -109,6 +109,12 @@ public class PowerActionParser {
|
||||
for (String bodyPart : arguments)
|
||||
powerActionEntry.femaleBodyParts.add(Integer.parseInt(bodyPart));
|
||||
break;
|
||||
case "SCALEFACTOR":
|
||||
arguments = lineValues[1].trim().split("\\s+");
|
||||
|
||||
for (String bodyPart : arguments)
|
||||
powerActionEntry.scaleFactor.add(Float.parseFloat(bodyPart));
|
||||
break;
|
||||
case "ISRESISTABLE":
|
||||
powerActionEntry.isResistable = Boolean.parseBoolean(lineValues[1].trim());
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user