|
Conquer Space 0.0.0
A space themed grand strategy game set in the near future, with realistic orbital mechanics, and an emphasis on economics and politics.
|
This loader has to be loaded after PlanetLoader because it adds the cities to the respectve planets More...
#include <loadcities.h>
Public Member Functions | |
| CityLoader (Universe &universe) | |
| const Hjson::Value & | GetDefaultValues () override |
| bool | LoadValue (const Hjson::Value &values, Node &node) override |
| void | PostLoad (const Node &node) override |
Public Member Functions inherited from cqsp::common::loading::HjsonLoader | |
| HjsonLoader (Universe &universe) | |
| virtual | ~HjsonLoader ()=default |
| int | LoadHjson (const Hjson::Value &values) |
| virtual bool | NeedIdentifier () |
Private Attributes | |
| Hjson::Value | default_val |
Additional Inherited Members | |
Protected Attributes inherited from cqsp::common::loading::HjsonLoader | |
| Universe & | universe |
This loader has to be loaded after PlanetLoader because it adds the cities to the respectve planets
|
inlineexplicit |
|
inlineoverridevirtual |
Implements cqsp::common::loading::HjsonLoader.
|
overridevirtual |
Implements cqsp::common::loading::HjsonLoader.
|
overridevirtual |
Loads the city and sets the parent.
Reimplemented from cqsp::common::loading::HjsonLoader.
|
private |