Skip to content
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

Merged
merged 4 commits into from
Sep 1, 2017

Conversation

WaDelma
Copy link
Member

@WaDelma WaDelma commented Sep 1, 2017

Addresses checkbox in #244

Copy link
Member

@torkleyy torkleyy left a 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?

#[derive(Debug)]
struct Vel(f32, f32);
impl Component for Vel {
// This uses `DenseVecStorage`, because nearly all entities have position.
Copy link
Member

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.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy pasta strikes again!

Copy link
Member

@torkleyy torkleyy left a 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!

@torkleyy torkleyy requested a review from kvark September 1, 2017 19:59
@kvark
Copy link
Member

kvark commented Sep 1, 2017

bors r+

bors bot added a commit that referenced this pull request Sep 1, 2017
249: Added example that demonstrates LazyUpdate r=kvark a=WaDelma

Addresses checkbox in #244
@bors
Copy link
Contributor

bors bot commented Sep 1, 2017

Build succeeded

@bors bors bot merged commit 47434c9 into amethyst:master Sep 1, 2017
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.

3 participants