| Total Complexity | 2 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | package de.pewpewproject.lasertag.lasertaggame; |
||
| 10 | public interface IStatsFilePathHolding { |
||
| 11 | |||
| 12 | /** |
||
| 13 | * Sets the path to the statistics file |
||
| 14 | * |
||
| 15 | * @param newPath The new path as a string |
||
| 16 | */ |
||
| 17 | default void setStatsFilePath(String newPath) {} |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Gets the path to the last games stats |
||
| 21 | * |
||
| 22 | * @return Optional containing the path as a string. Optional.empty if there was no last game on this World. |
||
| 23 | */ |
||
| 24 | default Optional<String> getStatsFilePath() { |
||
| 25 | return Optional.empty(); |
||
| 26 | } |
||
| 28 |