summaryrefslogtreecommitdiffhomepage
path: root/samples/99_genre_rpg_roguelike/roguelike_starting_point/app/main.rb
diff options
context:
space:
mode:
Diffstat (limited to 'samples/99_genre_rpg_roguelike/roguelike_starting_point/app/main.rb')
-rw-r--r--samples/99_genre_rpg_roguelike/roguelike_starting_point/app/main.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/99_genre_rpg_roguelike/roguelike_starting_point/app/main.rb b/samples/99_genre_rpg_roguelike/roguelike_starting_point/app/main.rb
index 7ed8d60..bc4d7fd 100644
--- a/samples/99_genre_rpg_roguelike/roguelike_starting_point/app/main.rb
+++ b/samples/99_genre_rpg_roguelike/roguelike_starting_point/app/main.rb
@@ -338,7 +338,7 @@ class Game
state.enemies.find { |e| e.x == x && e.y == y && !e.is_dead }
end
- #M oves the user based on their keyboard input and sets values for target cell
+ # Moves the user based on their keyboard input and sets values for target cell
def input_target_cell
if inputs.keyboard.key_down.up # if "up" key is in "down" state
[state.x, state.y + 1, 0, 1] # user moves up