Added invoke_plan, removed viewer
This commit is contained in:
@@ -2,16 +2,17 @@
|
||||
#ifndef TEXTGAME_HPP
|
||||
#define TEXTGAME_HPP
|
||||
|
||||
#include "viewer.hpp"
|
||||
#include "luaconsole.hpp"
|
||||
#include "world.hpp"
|
||||
#include <memory>
|
||||
|
||||
class TextGame {
|
||||
private:
|
||||
using StringVec = LuaConsole::StringVec;
|
||||
Viewer viewer_;
|
||||
std::unique_ptr<World> world_;
|
||||
LuaConsole console_;
|
||||
Gui gui_;
|
||||
int64_t gui_id_;
|
||||
int64_t gui_place_;
|
||||
|
||||
void do_view_command(const StringVec &cmd);
|
||||
void do_menu_command(const StringVec &cmd);
|
||||
|
||||
Reference in New Issue
Block a user