-
Notifications
You must be signed in to change notification settings - Fork 220
New issue
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
Added example that demonstrates LazyUpdate #249
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice, thank you! Just one nit and - could you please squash commits?
examples/cluster_bomb.rs
Outdated
#[derive(Debug)] | ||
struct Vel(f32, f32); | ||
impl Component for Vel { | ||
// This uses `DenseVecStorage`, because nearly all entities have position. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nearly all entities have position a velocity.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copy pasta strikes again!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a really great example. I'm sure it'll be of use!
bors r+ |
Build succeeded |
Addresses checkbox in #244