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

Method nextTab

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

Source from the content-addressed store, hash-verified

239 }
240
241 private nextTab(): void{
242 // If we're allowed to.. (this will be disable when using the computer)
243 if(this.game.getIsStatusBarAllowedToUseTheNKey()){
244 if(this.selectedTabIndex+1 < this.tabs.length)
245 this.tabs[this.selectedTabIndex+1].clicked();
246 else
247 this.tabs[0].clicked();
248 }
249 }
250
251 private setNextCornerStep(): void{
252 var nextCornerStep: number = Saving.loadNumber("statusBarCornerStep");

Callers

nothing calls this directly

Calls 2

clickedMethod · 0.45

Tested by

no test coverage detected