Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changelog
Entities
are no longer value classes. They are now a data class that contains the previousid
and a newversion
. With this new functionality it is now way easier to safely reference entities in components. Big shoutout to @dragbone for the contribution! [#113 entity version #115]EntityTag
functionality was added which is a more memory efficient and faster way to create components without data. Thanks to @LobbyDivinus for the suggestion and help during development [add entity tag support #119]Snapshot
class was introduced to support the newEntityTag
functionality. Check the wiki's serialization page for more detailsComponentsHolder
memory usage slightly (no longer stores a string property of its name) [refactor ComponentsHolder toString() #110]BitArray
usage which makes entity creation and removal even faster. Thank you @tommyettinger for the contribution! [Optimization and cleanup for bit arrays. #111]MutableEntityBag
. Thanks to @LobbyDivinus [Use inline functions for MutableEntityBag #117]