()
| 344 | } |
| 345 | |
| 346 | private slotSelected(): void{ |
| 347 | // Get the selected language id |
| 348 | this.selectedSlot = $("#saveLocalSaveSlotsList").find(":selected").attr("id"); |
| 349 | |
| 350 | // Update the ligthouse |
| 351 | this.update(); |
| 352 | this.getGame().updatePlace(); |
| 353 | } |
| 354 | |
| 355 | private update(): void{ |
| 356 | var yPosition: number = 0; // The y position where we will add things. Can be incremented sometimes, depending on the user's language.. |