(type: StatusBarTabType)
| 85 | } |
| 86 | |
| 87 | public selectTabByType(type: StatusBarTabType): void{ |
| 88 | for(var i = 0; i < this.tabs.length; i++){ |
| 89 | // If this is the tab we're searching for |
| 90 | if(this.tabs[i].getType() == type){ |
| 91 | // We select it and we break |
| 92 | this.selectedTabIndex = i; |
| 93 | this.game.updateStatusBar(); |
| 94 | } |
| 95 | } |
| 96 | } |
| 97 | |
| 98 | public updateAll(){ |
| 99 | // We erase |
no test coverage detected