full implementation!
bug: level generation will generate nullptrs
This commit is contained in:
22
src/cc3k.h
22
src/cc3k.h
@ -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
|
||||
|
Reference in New Issue
Block a user