Combining two repos

This commit is contained in:
2021-02-10 13:05:58 -05:00
parent 8f557ff387
commit abb474d1ce
258 changed files with 139990 additions and 4 deletions

View File

@@ -0,0 +1,30 @@
#ifndef TEXTGAME_HPP
#define TEXTGAME_HPP
#include "viewer.hpp"
#include "luaconsole.hpp"
class TextGame {
private:
using StringVec = LuaConsole::StringVec;
Viewer viewer_;
LuaConsole console_;
Gui gui_;
int64_t gui_id_;
void do_view_command(const StringVec &cmd);
void do_menu_command(const StringVec &cmd);
void do_choose_command(const StringVec &cmd);
void do_quit_command(const StringVec &cmd);
void do_snapshot_command(const StringVec &cmd);
void do_rollback_command(const StringVec &cmd);
void do_lua(const std::string &exp);
void do_command(const StringVec &exp);
public:
void run();
};
#endif // TEXTGAME_HPP