Files
integration/luprex/syscpp/viewer.cpp
2021-01-22 19:10:47 -05:00

34 lines
633 B
C++

#include "viewer.hpp"
Viewer::Viewer() {
world_.reset(new World);
world_->init_standalone();
}
Viewer::~Viewer() {
}
int64_t Viewer::get_player_id() {
return 1;
}
// Get the menu of the specified tangible.
//
std::vector<std::string> Viewer::get_menu(int64_t id) {
std::vector<std::string> result;
result.push_back("north");
result.push_back("south");
result.push_back("east");
result.push_back("west");
result.push_back("build");
result.push_back("destroy");
return result;
}
void Viewer::choose_menu_item(int64_t id, const std::string &item) {
}
void Viewer::advance_clock() {
};