summaryrefslogtreecommitdiffhomepage
path: root/samples/99_genre_arcade/twinstick
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_arcade/twinstick
parent1404fd05a99cf745c33a4316b9d5e1562083c3ae (diff)
downloaddragonruby-game-toolkit-contrib-d5115606c96b0fe0affd72e6e0b72edce7e51042.tar.gz
dragonruby-game-toolkit-contrib-d5115606c96b0fe0affd72e6e0b72edce7e51042.zip
Typo fixes
Diffstat (limited to 'samples/99_genre_arcade/twinstick')
-rw-r--r--samples/99_genre_arcade/twinstick/app/main.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/99_genre_arcade/twinstick/app/main.rb b/samples/99_genre_arcade/twinstick/app/main.rb
index 4edef92..2ce1d50 100644
--- a/samples/99_genre_arcade/twinstick/app/main.rb
+++ b/samples/99_genre_arcade/twinstick/app/main.rb
@@ -64,7 +64,7 @@ def move_enemies args
theta = Math.atan2(enemy.y - args.state.player.y, enemy.x - args.state.player.x)
# Convert the angle to a vector pointing at the player
dx, dy = theta.to_degrees.vector 5
- # Move the enemy towards thr player
+ # Move the enemy towards the player
enemy.x -= dx
enemy.y -= dy
end