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

Method loadForge

code/main/Village.ts:165–179  ·  view source on GitHub ↗
(x: number, y: number)

Source from the content-addressed store, hash-verified

163 }
164
165 private loadForge(x: number, y: number){
166 // Buttons
167 this.renderArea.addMultipleAsciiButtons("mapVillageForgeButton",
168 x+3, x+6, y,
169 x+1, x+10, y+1,
170 x, x+11, y+2,
171 x-1, x+12, y+3,
172 x, x+11, y+4,
173 x, x+11, y+5);
174 // Comments
175 this.renderArea.addFullComment(x + 6, y + 6, Database.getText("mapVillageForgeComment"), Database.getTranslatedText("mapVillageForgeComment"), "mapVillageForgeComment");
176 // Interactions
177 this.renderArea.addLinkOver(".mapVillageForgeButton, .mapVillageForgeComment", ".mapVillageForgeComment");
178 this.renderArea.addLinkCall(".mapVillageForgeButton, .mapVillageForgeComment", new CallbackCollection(this.goToForge.bind(this)));
179 }
180
181 private loadFourthHouse(x: number, y: number): void{
182 // Buttons

Callers 1

updateMethod · 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