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

Method save

code/main/Game.ts:341–352  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

339 }
340
341 public save(): void{
342 // Resources
343 this.candies.save();
344 this.lollipops.save();
345 this.chocolateBars.save();
346 this.painsAuChocolat.save();
347 this.candiesEaten.save();
348 this.candiesThrown.save();
349 this.candiesUsedToRequestFeatures.save();
350 this.candiesInCauldron.save();
351 this.lollipopsInCauldron.save();
352 }
353
354 public setPlace(place: Place): void{
355 // If the current place isn't null, we warn it that we're going to stop displaying it

Callers 5

saveFunction · 0.45
clickedAutosaveMethod · 0.45
clickedFileSaveMethod · 0.45
clickedSaveMethod · 0.45
localAutosaveMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected