Browse Source

Field camelcase

feature-config-usage
MagicBot 2 months ago
parent
commit
614fb9a5e9
  1. 2
      src/engine/wpak/PowerActionParser.java
  2. 2
      src/engine/wpak/data/PowerAction.java

2
src/engine/wpak/PowerActionParser.java

@ -217,7 +217,7 @@ public class PowerActionParser {
arguments = Arrays.asList(lineValues.get(1).trim().split("\\s+")); arguments = Arrays.asList(lineValues.get(1).trim().split("\\s+"));
for (String bodyPart : arguments) for (String bodyPart : arguments)
powerAction.bodyparts.add(Integer.parseInt(bodyPart)); powerAction.bodyParts.add(Integer.parseInt(bodyPart));
break; break;
case "FEMALEBODYPARTS": case "FEMALEBODYPARTS":
arguments = Arrays.asList(lineValues.get(1).trim().split("\\s+")); arguments = Arrays.asList(lineValues.get(1).trim().split("\\s+"));

2
src/engine/wpak/data/PowerAction.java

@ -28,7 +28,7 @@ public class PowerAction {
// Additional variables after header go here. // Additional variables after header go here.
public ArrayList<Integer> bodyparts = new ArrayList<>(); public ArrayList<Integer> bodyParts = new ArrayList<>();
public ArrayList<Integer> femaleBodyParts = new ArrayList<>(); public ArrayList<Integer> femaleBodyParts = new ArrayList<>();
public boolean shouldShowWeapons = false; public boolean shouldShowWeapons = false;
public boolean shouldShowArmor = false; public boolean shouldShowArmor = false;

Loading…
Cancel
Save