couldn't this if-else be `this.player_.userActive(!this.player_.userActive())`?