ServerConfiguration/Calla/Calla-Lib/game/src/emoji/EmojiGroup.js
/**
     * Selects a random emoji out of the collection.
     * @returns {(Emoji|EmojiGroup)}
     **/
Selects a random emoji out of the collection.
Selects a random emoji out of the collection .
random() {
        const selection = arrayRandom(this.alts);
        if (selection instanceof EmojiGroup) {
            return selection.random();
        }
        else {
            return selection;
        }
    }
random ( ) { const selection = arrayRandom ( this . alts ) ; if ( selection instanceof EmojiGroup ) { return selection . random ( ) ; } else { return selection ; } }
Selects a random emoji out of the collection.
Selects a random emoji out of the collection .