From 00af3d59bf3818fd148ad238a0440679eae43acc Mon Sep 17 00:00:00 2001 From: Peisong Xiao Date: Tue, 2 Jul 2024 16:48:53 -0400 Subject: [PATCH] started a new framework --- src/game.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/game.h diff --git a/src/game.h b/src/game.h new file mode 100644 index 0000000..b3907ec --- /dev/null +++ b/src/game.h @@ -0,0 +1,23 @@ +#ifndef __GAME_H__ +#define __GAME_H__ +#include +#include +#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; + std::unique_ptr spell; + std::unique_ptr player; + std::vector levels; +public: + game(int argc = 0, char **argv = nullptr); + void run(); +}; + +#endif