full implementation!

bug: level generation will generate nullptrs
This commit is contained in:
2024-07-15 00:09:14 -04:00
parent c3b974c83c
commit 6768d73d16
13 changed files with 407 additions and 46 deletions

View File

@ -1,8 +1,26 @@
#ifndef __CC3K_H__
#define __CC3K_H__
class CC3K;
#include "input.h"
#include "display.h"
#include "game.h"
#include "menu.h"
#include "result.h"
// every time it runs, clear first
class CC3K final {
private:
const feature enabled_features;
input *in;
display *out;
RNG *rng;
game_result gresult;
std::unique_ptr<game> curr_game;
std::unique_ptr<menu> curr_menu;
public:
CC3K(const feature enabled_features,
input *in, display *out, RNG *rng);
game_status run();
};
#endif