Calla-Site/wwwroot/scripts/game.js
/**
     * Returns the type of avatar that is currently active.
     * @returns {AvatarMode}
     **/
Returns the type of avatar that is currently active.
Returns the type of avatar that is currently active .
get avatarMode() {
        if (this._avatarVideo) {
            return AvatarMode.video;
        }
        else if (this._avatarImage) {
            return AvatarMode.photo;
        }
        else if (this._avatarEmoji) {
            return AvatarMode.emoji;
        }
        else {
            return AvatarMode.none;
        }
    }
get avatarMode ( ) { if ( this . _avatarVideo ) { return AvatarMode . video ; } else if ( this . _avatarImage ) { return AvatarMode . photo ; } else if ( this . _avatarEmoji ) { return AvatarMode . emoji ; } else { return AvatarMode . none ; } }
Returns the type of avatar that is currently active.
Returns the type of avatar that is currently active .