function showMoves(character) {
    document.getElementById("playerAbilities").style.visibility = "hidden";
    document.getElementById("playerItems").style.visibility = "hidden";
    document.getElementById("playerFlee").style.visibility = "hidden";
    document.getElementById("goBack").style.visibility = "visible";
    for (let i = 0; i < character.availableMoves.length; i++) {
        createMoveElement(character.availableMoves[i]);
    }
}
/**
 * Shows the currently available moves of the chosen character.
 */
Shows the currently available moves of the chosen character.
Shows the currently available moves of the chosen character .
function showMoves(character) {
    document.getElementById("playerAbilities").style.visibility = "hidden";
    document.getElementById("playerItems").style.visibility = "hidden";
    document.getElementById("playerFlee").style.visibility = "hidden";
    document.getElementById("goBack").style.visibility = "visible";
    for (let i = 0; i < character.availableMoves.length; i++) {
        createMoveElement(character.availableMoves[i]);
    }
}
function showMoves ( character ) { document . getElementById ( "playerAbilities" ) . style . visibility = "hidden" ; document . getElementById ( "playerItems" ) . style . visibility = "hidden" ; document . getElementById ( "playerFlee" ) . style . visibility = "hidden" ; document . getElementById ( "goBack" ) . style . visibility = "visible" ; for ( let i = 0 ; i < character . availableMoves . length ; i ++ ) { createMoveElement ( character . availableMoves [ i ] ) ; } }
Shows the currently available moves of the chosen character.
Shows the currently available moves of the chosen character .