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

Method selectTab

code/main/StatusBar.ts:82–85  ·  view source on GitHub ↗
(index: number)

Source from the content-addressed store, hash-verified

80 }
81
82 public selectTab(index: number): void{
83 this.selectedTabIndex = index;
84 this.game.updateStatusBar();
85 }
86
87 public selectTabByType(type: StatusBarTabType): void{
88 for(var i = 0; i < this.tabs.length; i++){

Callers 1

clickedMethod · 0.80

Calls 1

updateStatusBarMethod · 0.80

Tested by

no test coverage detected