Closed Andidy closed 3 years ago
ReadEntityFromFile should be exapnded to include all the component types. cItem, cInventory, cFood, cUnit
cItem
cInventory
cFood
cUnit
Here is an example implementation: https://github.com/Andidy/engine-v2/blob/d3f47492e45b14edad01d5dbbcfa1d88cdd094d3/engine-v2/src/game.cpp#L181-L192
ReadEntityFromFile should be exapnded to include all the component types.
cItem
,cInventory
,cFood
,cUnit
Here is an example implementation: https://github.com/Andidy/engine-v2/blob/d3f47492e45b14edad01d5dbbcfa1d88cdd094d3/engine-v2/src/game.cpp#L181-L192