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

Method loadMoutains

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

Source from the content-addressed store, hash-verified

357 }
358
359 private loadMoutains(x: number, y: number): void{
360 // The "*" show that there's a pogo stick here
361 this.renderArea.drawString("*", 71, 52);
362 // Button
363 this.renderArea.addMultipleAsciiButtons("mapMoutainsButton",
364 x, x+1, y);
365 // Interactions
366 this.renderArea.addLinkOver(".mapMoutainsButton, .mapMoutainsComment", ".mapMoutainsComment");
367 this.renderArea.addLinkCall(".mapMoutainsButton, .mapMoutainsComment", new CallbackCollection(this.goToMoutains.bind(this)));
368 }
369
370 private loadPier(x: number, y: number): void{
371 // Buttons

Callers 1

loadMethod · 0.95

Calls 5

drawStringMethod · 0.80
addLinkOverMethod · 0.80
addLinkCallMethod · 0.80
bindMethod · 0.80

Tested by

no test coverage detected