More notes on the next things to do.

This commit is contained in:
Zed A. Shaw 2024-11-07 02:06:22 -05:00
parent 011fee4872
commit 0e79288afc
8 changed files with 31 additions and 6 deletions

View file

@ -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);