#ifndef VIEWER_HPP #define VIEWER_HPP #include "world.hpp" #include "animqueue.hpp" #include #include #include class Viewer { private: std::unique_ptr world_; AnimViewMap view_map_; public: Viewer(); ~Viewer(); // Get the lua state for interaction. // lua_State *get_lua_state() { return world_->get_lua_state(); } // Get the player ID of the current player. // int64_t get_player_id(); // Update the view map. // void update_view_map() { world_->update_view_map(&view_map_, 1, 100); } // Get the view map. // AnimViewMap &get_view_map() { return view_map_; } // Get the menu of the specified tangible. // std::vector get_menu(int64_t id); }; #endif // VIEWER_HPP