()
| 58 | } |
| 59 | |
| 60 | SetCurrentHighestPlayer() { |
| 61 | this.currentHighestPlayerIndex = 0; |
| 62 | for (let i = 0; i < this.players.length; i++) { |
| 63 | if (this.players[i].GetGlobalHeight() > this.players[this.currentHighestPlayerIndex].GetGlobalHeight()) { |
| 64 | this.currentHighestPlayerIndex = i; |
| 65 | } |
| 66 | } |
| 67 | } |
| 68 | |
| 69 | Show() { |
| 70 |