Skip to content

Commit

Permalink
Update book/src/pong-tutorial/pong-tutorial-02.md
Browse files Browse the repository at this point in the history
  • Loading branch information
CleanCut authored Aug 12, 2020
1 parent 26b6111 commit dc9f98d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion book/src/pong-tutorial/pong-tutorial-02.md
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ Next we simply add the components to the paddle entities:
# use amethyst::renderer::sprite::{SpriteSheet, SpriteRender};
# use amethyst::prelude::*;
# fn initialise_paddles(world: &mut World, sprite_sheet_handle: Handle<SpriteSheet>) {
# let sprite_render = SpriteRender::new(sprite_sheet_handle, 0);
# let sprite_render = SpriteRender::new(sprite_sheet_handle, 0); // paddle is the first sprite in the sprite_sheet
// Create a left plank entity.
world
.create_entity()
Expand Down

0 comments on commit dc9f98d

Please sign in to comment.