24 lines
380 B
C++
24 lines
380 B
C++
#pragma once
|
|
#include <string>
|
|
#include <vector>
|
|
#include "location.h"
|
|
|
|
class Player {
|
|
public:
|
|
std::string name = "Character Name";
|
|
|
|
int hp = 100;
|
|
int atk = 10;
|
|
int gold = 0;
|
|
|
|
int currentLocation = 1;
|
|
Point position;
|
|
|
|
int weaponId = 101;
|
|
std::vector<int> items;
|
|
|
|
Player() = default;
|
|
Player(std::string name);
|
|
|
|
void showStats() const;
|
|
}; |