amethyst / specs

Specs - Parallel ECS
https://amethyst.github.io/specs/
Apache License 2.0
2.49k stars 219 forks source link

Fix typo substituting Position for Velocity #695

Closed stevensonmt closed 4 years ago

stevensonmt commented 4 years ago

I believe the example intended to be impl Component for Velocity rather than ...for Position as no Position struct was present in this example. I also added #[derive(Default)] for the Gravity struct as it was needed to have an example that would compile. I also gave the run() function a valid signature that would allow the example to compile.

azriel91 commented 4 years ago

bors r+

bors[bot] commented 4 years ago

Build succeeded: