// // serial.hpp // danmaku // // Created by Sam Jaffe on 5/27/19. // Copyright © 2019 Sam Jaffe. All rights reserved. // #pragma once #include #include #include "game/engine/serial.hpp" namespace danmaku { class actor; class player; struct points_map; } namespace graphics { class manager; } namespace danmaku { points_map to_points_map(Json::Value const & json); std::unique_ptr to_actor(Json::Value const & json, graphics::manager const & mgr); std::unique_ptr to_player(Json::Value const & json, graphics::manager const & mgr); template auto to_vector(Json::Value const & json, F && func, Args &&... args) -> std::vector; }