function checkForMP(character, move) {
    if (move.mp <= character.mpLeft) {
        return true;
    } else {
        return false;
    }
}
/**
 * Checks if the character has enough MP to perform the move
 * @param {Character} character 
 * @param {Move} move 
 * @returns true if character has enough MP, false if not
 */
Checks if the character has enough MP to perform the move
@param {Character} character
@param {Move} move
@returns true if character has enough MP, false if not
Checks if the character has enough MP to perform the move @param { Character } character @param { Move } move @returns true if character has enough MP false if not
function checkForMP(character, move) {
    if (move.mp <= character.mpLeft) {
        return true;
    } else {
        return false;
    }
}
function checkForMP ( character , move ) { if ( move . mp <= character . mpLeft ) { return true ; } else { return false ; } }
Checks if the character has enough MP to perform the move
 @param {Character} character
 @param {Move} move
 @returns true if character has enough MP, false if not
Checks if the character has enough MP to perform the move @param { Character } character @param { Move } move @returns true if character has enough MP false if not