()
| 41 | |
| 42 | // willBeDisplayed() |
| 43 | public willBeDisplayed(): void{ |
| 44 | // We resize (we must do this there and not in the constructor because the size depends on the translation) |
| 45 | this.resize(); |
| 46 | |
| 47 | // We add a callback : we will be updated every second (in order to show the correct time for the local autosave countdown) |
| 48 | this.getGame().getOneSecondCallbackCollection().addCallback(this.oneSecondCallback.bind(this)); |
| 49 | } |
| 50 | |
| 51 | // Private methods |
| 52 | private clickedAutosave(): void{ |
no test coverage detected