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

Method addTab

code/main/StatusBar.ts:153–156  ·  view source on GitHub ↗
(type: StatusBarTabType, xPos: number, text1: string, text2: string, text3: string, callbackCollection: CallbackCollection)

Source from the content-addressed store, hash-verified

151
152 // Private methods
153 private addTab(type: StatusBarTabType, xPos: number, text1: string, text2: string, text3: string, callbackCollection: CallbackCollection): void{
154 // We add the tab
155 this.tabs.push(new StatusBarTab(this, type, xPos, text1, text2, text3, this.tabs.length, callbackCollection));
156 }
157
158 private clickedOnCorner(): void{
159 this.setNextCornerStep();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected