| 67 | } |
| 68 | |
| 69 | void xg::guide::GuideController::TextObject(const nlohmann::json &config) { |
| 70 | if(!config.is_object()) |
| 71 | return; |
| 72 | auto text = xg::make_unique<xg::guide::Text>(config); |
| 73 | this->guides.push_back(std::move(text)); |
| 74 | } |
| 75 | |
| 76 | void xg::guide::GuideController::LineObject(const nlohmann::json &config) { |
| 77 | if(!config.is_object()) |