21 lines
336 B
C++
21 lines
336 B
C++
#pragma once
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
class Player {
|
|
public:
|
|
std::string name = "Character Name";
|
|
int hp = 100;
|
|
int atk = 1;
|
|
int gold = 0;
|
|
int currentLocation = 1;
|
|
int weaponId = 101;
|
|
std::vector<int> items;
|
|
|
|
Player() {};
|
|
Player(std::string _name);
|
|
void showStats();
|
|
};
|
|
|
|
#pragma once
|