More notes on the next things to do.
This commit is contained in:
parent
011fee4872
commit
0e79288afc
8 changed files with 31 additions and 6 deletions
3
save.hpp
3
save.hpp
|
@ -33,8 +33,9 @@ namespace save {
|
|||
std::map<DinkyECS::Entity, components::Motion> motion;
|
||||
std::map<DinkyECS::Entity, components::Combat> combat;
|
||||
std::map<DinkyECS::Entity, components::Tile> tile;
|
||||
std::map<DinkyECS::Entity, components::Inventory> inventory;
|
||||
|
||||
DEFINE_SERIALIZABLE(SaveData, facts, map, position, motion, combat, tile);
|
||||
DEFINE_SERIALIZABLE(SaveData, facts, map, position, motion, combat, tile, inventory);
|
||||
};
|
||||
|
||||
void to_file(fs::path path, DinkyECS::World &world, Map &map);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue