* Pretty prints all enables flags using the names from `ScriptPointer`. * * @param flags The flags to print.
(flags: number)
| 199 | return player; |
| 200 | } |
| 201 | |
| 202 | /** |
| 203 | * Sets the active player. Automatically checks the operand to determine primary and secondary. |
| 204 | * @param player The player to set. |
| 205 | */ |
| 206 | set activePlayer(player: Player) { |
| 207 | if (this.intOperand === 0) { |
| 208 | this._activePlayer = player; |
| 209 | } else { |
| 210 | this._activePlayer2 = player; |
| 211 | } |
| 212 | } |