MCPcopy Create free account
hub / github.com/candybox2/candybox2.github.io / slotSelected

Method slotSelected

code/main/Save.ts:346–353  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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..

Callers

nothing calls this directly

Calls 6

updateMethod · 0.95
$Function · 0.85
attrMethod · 0.80
findMethod · 0.80
updatePlaceMethod · 0.80
getGameMethod · 0.45

Tested by

no test coverage detected