Closed jukkae closed 6 years ago
Pass engine, maybe also window, as parameters in constructor, but don't serialise them. Deserialise game play state with null pointer, and then just manually set the pointers to what they should be after. Bad, sure, but still better than current.
Pass engine, maybe also window, as parameters in constructor, but don't serialise them. Deserialise game play state with null pointer, and then just manually set the pointers to what they should be after. Bad, sure, but still better than current.