(int id)
| 27 | } |
| 28 | |
| 29 | public static Effects getByID(int id) { |
| 30 | if (id < 0 || id >= effects.size) return null; |
| 31 | else return effects.get(id); |
| 32 | } |
| 33 | |
| 34 | public static Effects getByName(String name) { |
| 35 | return effects.find(e -> e.name.equals(name)); |
no test coverage detected