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

Method drawTabs

code/main/StatusBar.ts:218–226  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

216 }
217
218 private drawTabs(): void{
219 if(Saving.loadBool("statusBarUnlocked")){
220 this.renderArea.drawVerticalLine("|", 28, 1, 4);
221
222 for(var i = 0; i < this.tabs.length; i++){
223 this.tabs[i].render(this.renderArea, 29, 1, (this.selectedTabIndex == i? true:false));
224 }
225 }
226 }
227
228 private drawUpLeftCorner(character: string): void{
229 this.renderArea.drawString(character, 0, 0);

Callers 1

updateAllMethod · 0.95

Calls 2

drawVerticalLineMethod · 0.80
renderMethod · 0.45

Tested by

no test coverage detected