(List<String> tokens)
| 117 | } |
| 118 | |
| 119 | public static int parseTime(List<String> tokens) throws ParserException, NumberFormatException { |
| 120 | int minutes = Integer.parseInt(tokens.get(0)); |
| 121 | expectToken(":", tokens.get(1)); |
| 122 | int seconds = Integer.parseInt(tokens.get(2)); |
| 123 | |
| 124 | return minutes * 60 + seconds; |
| 125 | } |
| 126 | |
| 127 | public static TacticalPosition parseTacticalPosition(List<String> tokens) { |
| 128 | if (TacticalPosition.isGoalkeeper(tokens.get(0))) { |