started a new framework

This commit is contained in:
2024-07-02 16:48:53 -04:00
parent d3d6c18dee
commit 00af3d59bf

23
src/game.h Normal file
View File

@ -0,0 +1,23 @@
#ifndef __GAME_H__
#define __GAME_H__
#include <memory>
#include <vector>
#include "constants.h"
#include "rng.h"
#include "spell.h" // this is for ncurses
#include "characters.h"
#include "map.h"
class game final {
private:
feature features;
std::unique_ptr<RNG> rng;
std::unique_ptr<spell> spell;
std::unique_ptr<character> player;
std::vector<game_map> levels;
public:
game(int argc = 0, char **argv = nullptr);
void run();
};
#endif