()
| 67 | } |
| 68 | |
| 69 | Show() { |
| 70 | |
| 71 | this.SetCurrentHighestPlayer() |
| 72 | let highestPlayer = this.players[this.currentHighestPlayerIndex]; |
| 73 | let highestLevelNo = this.players[this.currentHighestPlayerIndex].currentLevelNo; |
| 74 | |
| 75 | if(highestPlayer.currentLevelNo > highestPlayer.bestLevelReached && !highestPlayer.progressionCoinPickedUp){ |
| 76 | highestLevelNo -=1; |
| 77 | } |
| 78 | showLevel(highestLevelNo); |
| 79 | alreadyShowingSnow = false; |
| 80 | this.showingLevelNo = highestLevelNo; |
| 81 | for (let i = 0; i < this.players.length; i++) { |
| 82 | if (this.players[i].currentLevelNo >= highestLevelNo - 1 && this.players[i].currentLevelNo <=highestLevelNo ) { |
| 83 | this.players[i].Show(); |
| 84 | } |
| 85 | } |
| 86 | |
| 87 | // this.ShowPopulationInfo(); |
| 88 | |
| 89 | } |
| 90 | |
| 91 | |
| 92 | ResetAllPlayers() { |
nothing calls this directly
no test coverage detected