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

Method loadWishingWell

code/main/MainMap.ts:452–461  ·  view source on GitHub ↗
(x: number, y: number)

Source from the content-addressed store, hash-verified

450 }
451
452 private loadWishingWell(x: number, y: number): void{
453 // Buttons
454 this.renderArea.addMultipleAsciiButtons("mapWishingWellButton",
455 x, x+3, y);
456 // Comments
457 this.renderArea.addFullComment(x+1, y+1, Database.getText("mapWishingWellComment"), Database.getTranslatedText("mapWishingWellComment"), "mapWishingWellComment");
458 // Interactions
459 this.renderArea.addLinkOver(".mapWishingWellButton, .mapWishingWellComment", ".mapWishingWellComment");
460 this.renderArea.addLinkCall(".mapWishingWellButton, .mapWishingWellComment", new CallbackCollection(this.goToWishingWell.bind(this)));
461 }
462}

Callers 1

loadMethod · 0.95

Calls 6

addFullCommentMethod · 0.80
addLinkOverMethod · 0.80
addLinkCallMethod · 0.80
bindMethod · 0.80
getTextMethod · 0.45

Tested by

no test coverage detected