diff --git a/src/03-spit-fire.md b/src/03-spit-fire.md index 45ea895..3e780df 100644 --- a/src/03-spit-fire.md +++ b/src/03-spit-fire.md @@ -44,7 +44,7 @@ Outputting info to the console isn't that helpful for the player, but can you be We want to display a fireball on the screen when the action key is pressed. We've got most of the code, all we need to do is change `puts` to instead display the fireball. -At the top of `#tick` (`#name` is Ruby shorthand for "the name method"), assign an empty array to `args.state.fireballs` if nothing has been assigned yet. This will let us keep track of fireballs across the game loop to do all sorts of things with them (display them, move them, collide them with other objects): +At the top of `#tick` (`#name` is Ruby shorthand for "the `name` method"), assign an empty array to `args.state.fireballs` if nothing has been assigned yet. This will let us keep track of fireballs across the game loop to do all sorts of things with them (display them, move them, collide them with other objects): ``` ruby {{#include code/chapter_03/03_displaying_fireballs/app/main.rb:1:4}}