Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
#pragma once
#include<ctime>
#include<vector>
#include<fstream>
#include"functions.h"
#include"character.h"
class Game
{
public:
Game();
virtual ~Game();
//operators
//accessors
inline bool getplaying() const { return this->playing; }
//functions
void mainMenu();
void createNewCharacter();
void saveCharacters();
void loadCharacter();
void initGame();
private:
int choice;
bool playing;
//Character related
int activeCharacter;
std::vector<Character> characters;
std::string filename;
};
© 2020 GitHub, Inc.