DinkyECS shouldn't be copying facts and other stuff over to new worlds #85

Closed
opened 13 hours ago by zedshaw · 0 comments
Owner

Currently facts are being copied into a whole new set of facts, which means that previous worlds will retain the facts as they were at that level. Problem is these are facts so there should really be only one set. It's better to make this (and possibly other things) a shared_ptr.

Currently facts are being copied into a whole new set of facts, which means that previous worlds will retain the facts as they were at that level. Problem is these are _facts_ so there should really be only one set. It's better to make this (and possibly other things) a shared_ptr.
zedshaw closed this issue 12 hours ago
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: learn-code-the-hard-way/raycaster#85
Loading…
There is no content yet.