Browse Source

PowerActionEntry parsing work.

feature-config-parsing2
MagicBot 3 months ago
parent
commit
9a6a131bbf
  1. 5
      src/engine/wpak/PowerActionParser.java

5
src/engine/wpak/PowerActionParser.java

@ -10,7 +10,6 @@ package engine.wpak;
import engine.gameManager.ConfigManager; import engine.gameManager.ConfigManager;
import engine.wpak.data.PowerActionEntry; import engine.wpak.data.PowerActionEntry;
import engine.wpak.data.PowerEntry;
import java.io.IOException; import java.io.IOException;
import java.nio.file.Files; import java.nio.file.Files;
@ -44,12 +43,12 @@ public class PowerActionParser {
while (matcher.find()) { while (matcher.find()) {
PowerEntry powerEntry = parsePowerActionEntry(matcher.group().trim()); PowerActionEntry powerActionEntry = parsePowerActionEntry(matcher.group().trim());
} }
} }
private static PowerActionEntry parsePowerEntry(String powerData) { private static PowerActionEntry parsePowerActionEntry(String powerActionData) {
PowerActionEntry powerActionEntry = new PowerActionEntry(); PowerActionEntry powerActionEntry = new PowerActionEntry();

Loading…
Cancel
Save