We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.insert()
.with()
Currently, the docs specify the following:
It would be nice to know what the behaviour of the following is, or at least whether the behaviour is undefined or not.
world.create_entity() .with(Pos(0, 0)) .with(Pos(1, 1)) .build();
The text was updated successfully, but these errors were encountered:
Consecutive with and insert overwrite the previous component: https://github.com/slide-rs/specs/blob/master/src/storage/mod.rs#L404
with
insert
Would agree it might be nice to have defined documentation for that, but I think it is pretty standard to overwrite.
Sorry, something went wrong.
Thanks for that. Just wanted to make sure this applied in all cases.
Merge #477
72ae9a6
477: Insertion documentation r=Xaeroxe a=Aceeri Fixes #475 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/slide-rs/specs/477) <!-- Reviewable:end --> Co-authored-by: Aceeri <conmcclusk@gmail.com>
No branches or pull requests
Currently, the docs specify the following:
It would be nice to know what the behaviour of the following is, or at least whether the behaviour is undefined or not.
The text was updated successfully, but these errors were encountered: