Skip to content

Conversation

kcbanner
Copy link
Collaborator

@kcbanner kcbanner commented Nov 5, 2024

  • Add StreamOut and StreamIn interfaces
  • Add implementations of StreamOut / StreamIn that use AnyWriter / AnyReader
  • Add Shape::saveBinaryState and Shape::restoreFromBinaryState
  • Add Shape::saveWithChildren and Shape::restoreWithChildren
  • Add convenience versions saveWithChildrenAll and restoreWithChildrenAll

Continued from zig-gamedev/zig-gamedev#731, now with sub-shape support!

- Add StreamOut and StreamIn interfaces
- Add implementations of StreamOut / StreamIn that use AnyWriter / AnyReader
- Add Shape::saveBinaryState and Shape::restoreFromBinaryState
- Add Shape::saveWithChildren and Shape::restoreWithChildren
- Add convenience versions saveWithChildrenAll and restoreWithChildrenAll
@hazeycode
Copy link
Member

Nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants