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

Method loadSorceressHut

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

Source from the content-addressed store, hash-verified

382 }
383
384 private loadSorceressHut(x: number, y: number): void{
385 // Buttons
386 this.renderArea.addMultipleAsciiButtons("mapSorceressHutButton",
387 x, x+3, y,
388 x, x+3, y+1);
389 // Comments
390 this.renderArea.addFullComment(x + 2, y + 3, Database.getText("mapSorceressHutComment"), Database.getTranslatedText("mapSorceressHutComment"), "mapSorceressHutComment");
391 // Interactions
392 this.renderArea.addLinkOver(".mapSorceressHutButton, .mapSorceressHutComment", ".mapSorceressHutComment");
393 this.renderArea.addLinkCall(".mapSorceressHutButton, .mapSorceressHutComment", new CallbackCollection(this.goToSorceressHut.bind(this)));
394 }
395
396 private loadTheDesert(x: number, y: number): void{
397 // Buttons

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