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

Method addTheSeaButton

code/main/Pier.ts:26–29  ·  view source on GitHub ↗
(x: number, y: number)

Source from the content-addressed store, hash-verified

24 }
25
26 private addTheSeaButton(x: number, y: number): void{
27 this.renderArea.addAsciiRealButton(Database.getText("pierTheSeaButton"), x, y, "pierTheSeaButton", Database.getTranslatedText("pierTheSeaButton"), true);
28 this.renderArea.addLinkCall(".pierTheSeaButton", new CallbackCollection(this.goToTheSea.bind(this)));
29 }
30
31 private clickedOnLighthouseButton(): void{
32 Saving.saveBool("mainMapDonePier", true);

Callers 1

updateMethod · 0.95

Calls 4

addAsciiRealButtonMethod · 0.80
addLinkCallMethod · 0.80
bindMethod · 0.80
getTextMethod · 0.45

Tested by

no test coverage detected