()
| 112 | } |
| 113 | |
| 114 | private clickedSave(): void{ |
| 115 | // Save on the selected slot |
| 116 | Saving.save(this.getGame(), MainLoadingType.LOCAL, this.selectedSlot); |
| 117 | |
| 118 | // Re-create the slots array |
| 119 | this.createSlotsArray(); |
| 120 | |
| 121 | // Update |
| 122 | this.update(); |
| 123 | this.getGame().updatePlace(); |
| 124 | } |
| 125 | |
| 126 | private createSlotsArray(): void{ |
| 127 | // Reset the array |
nothing calls this directly
no test coverage detected