Andidy / engine-v2

1 stars 0 forks source link

Expand ReadEntityFromFile to handle new components #6

Closed Andidy closed 3 years ago

Andidy commented 3 years ago

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