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

Method loadFourthHouse

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

Source from the content-addressed store, hash-verified

179 }
180
181 private loadFourthHouse(x: number, y: number): void{
182 // Buttons
183 this.renderArea.addMultipleAsciiButtons("mapVillageFourthHouseButton",
184 x+3, x+5, y,
185 x+1, x+10, y+1,
186 x, x+11, y+2,
187 x-1, x+12, y+3,
188 x, x+11, y+4,
189 x, x+11, y+5);
190 // Comments
191 this.renderArea.addFullComment(x + 6, y + 6, Database.getText("mapVillageAHouseComment"), Database.getTranslatedText("mapVillageAHouseComment"), "mapVillageFourthHouseComment");
192 // Interactions
193 this.renderArea.addLinkOver(".mapVillageFourthHouseButton, .mapVillageFourthHouseComment", ".mapVillageFourthHouseComment");
194 this.renderArea.addLinkCall(".mapVillageFourthHouseButton, .mapVillageFourthHouseComment", new CallbackCollection(this.goToFourthHouse.bind(this)));
195 }
196
197 private loadFifthHouse(x: number, y: number): void{
198 // 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