serial.hpp 450 B

123456789101112131415161718192021222324252627
  1. //
  2. // serial.hpp
  3. // danmaku
  4. //
  5. // Created by Sam Jaffe on 5/27/19.
  6. // Copyright © 2019 Sam Jaffe. All rights reserved.
  7. //
  8. #pragma once
  9. #include <memory>
  10. #include <json/forwards.h>
  11. #include "game/engine/serial.hpp"
  12. namespace danmaku {
  13. class actor;
  14. }
  15. namespace graphics {
  16. class manager;
  17. }
  18. namespace danmaku {
  19. std::unique_ptr<actor> to_actor(Json::Value const & json,
  20. graphics::manager const & mgr);
  21. }