Andidy / engine-v2

1 stars 0 forks source link

Use "ToString()" methods in components to improve "WriteEntityToFile()" #5

Closed Andidy closed 3 years ago

Andidy commented 3 years ago

Use the ToString() methods in the Components to ensure all data from Entities using that component gets saved to the disk.

Here is an example implementation: https://github.com/Andidy/engine-v2/blob/d3f47492e45b14edad01d5dbbcfa1d88cdd094d3/engine-v2/src/game.cpp#L113