/*----
  signature: main: void -> int
  purpose: read in a player character's information from the
           user and display it to the screen

  compile using:
      g++ get-player.cpp PlayerChar.cpp -o get-player
  run using:
      ./get-player

  by: Sharon Tuttle
  last modified: 2022-09-22
----*/

#include <cstdlib>
#include <iostream>
#include <string>
#include <cmath>
#include "PlayerChar.h"
using namespace std;

int main()
{
    string desired_name;
    string desired_role;
    int desired_strength;

    cout << "Enter a player's name: ";
    cin >> desired_name;

    cout << "Enter their role: ";
    cin >> desired_role;

    cout << "Enter their strength: ";
    cin >> desired_strength;

    PlayerChar new_player(desired_name, desired_strength,
        0.0, desired_role, 10);

    cout << "Here is your player character!" << endl;

    new_player.display_player();
         
    return EXIT_SUCCESS;
}