private void lookForNPCAction() {
        Character nearbyCharacter = checkWhoIsNear();
        if (nearbyCharacter == null) {
            System.out.println();
            return;
        }
        if (nearbyCharacter.getHostile() && nearbyCharacter.getLocation() == player.getLocation()) {
            // allows the character to both move and fight at the same time to balance the game.
            /*if (nearbyCharacter.getLocation() != player.getLocation()) {
                moveCharacters();
            }*/
            fight(player, nearbyCharacter);
        } else {
            moveCharacters();
        }
    }