(String searchedName)
| 94 | } |
| 95 | |
| 96 | public SourceGame getGame(String searchedName) { |
| 97 | SourceGame result = null; |
| 98 | Object[] gameArray = this.games.toArray(); |
| 99 | |
| 100 | int length = gameArray.length; |
| 101 | for (int i = 0; i < length; i++) { |
| 102 | SourceGame test = (SourceGame) gameArray[i]; |
| 103 | String gameName = test.getLongName(); |
| 104 | if (gameName.equals(searchedName)) { |
| 105 | result = test; |
| 106 | } |
| 107 | } |
| 108 | return result; |
| 109 | } |
| 110 | |
| 111 | public String[] getConvertOptionNames() { |
| 112 | Object[] optionArray = this.options.toArray(); |
no test coverage detected