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

Method createSlotsArray

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

Source from the content-addressed store, hash-verified

124 }
125
126 private createSlotsArray(): void{
127 // Reset the array
128 this.slotsArray = [];
129
130 // Fill it
131 for(var i = 1; i <= 5; i++){
132 this.slotsArray.push("slot" + i.toString());
133 this.slotsArray.push("Slot " + i.toString() + " (" + LocalSaving.getSlotSummaryAsString("slot" + i.toString()) + ")");
134 }
135 }
136
137 private drawGreen(text: string, x: number, y: number, translated: boolean = false): void{
138 this.renderArea.drawString(text, x, y, translated);

Callers 4

constructorMethod · 0.95
clickedAutosaveMethod · 0.95
clickedSaveMethod · 0.95
oneSecondCallbackMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected