segabl / gdd2017-homeless

See the world through different eyes
2 stars 0 forks source link

Serialize save-file #33

Closed cfkh closed 6 years ago

cfkh commented 6 years ago

Serialize the data for the save file. Currently the save file is written prototypically.

segabl commented 6 years ago

Started work on serializer. Added inner SaveData class to GameController that contains basic attributes to be saved. Advanced stuff like Inventory should be saved by adding a reference to the object and making the Inventory class serializeable.

potzinger commented 6 years ago

I'll look into using existing libraries like JSON.NET to make this task easier for us

segabl commented 6 years ago

Also see https://github.com/segabl/gdd2017-homeless/issues/52