summaryrefslogtreecommitdiffhomepage
path: root/samples/99_genre_rpg_roguelike/roguelike_starting_point/app/main.rb
diff options
context:
space:
mode:
authorSimon Chiang <[email protected]>2021-04-23 09:46:41 -0600
committerAmir Rajan <[email protected]>2021-05-26 16:08:45 -0500
commitd5115606c96b0fe0affd72e6e0b72edce7e51042 (patch)
tree5d750d974dc947163dc4cb37a0c9bbac9266a207 /samples/99_genre_rpg_roguelike/roguelike_starting_point/app/main.rb
parent1404fd05a99cf745c33a4316b9d5e1562083c3ae (diff)
downloaddragonruby-game-toolkit-contrib-d5115606c96b0fe0affd72e6e0b72edce7e51042.tar.gz
dragonruby-game-toolkit-contrib-d5115606c96b0fe0affd72e6e0b72edce7e51042.zip
Typo fixes
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