summaryrefslogtreecommitdiffhomepage
path: root/samples/09_performance
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/09_performance
parent1404fd05a99cf745c33a4316b9d5e1562083c3ae (diff)
downloaddragonruby-game-toolkit-contrib-d5115606c96b0fe0affd72e6e0b72edce7e51042.tar.gz
dragonruby-game-toolkit-contrib-d5115606c96b0fe0affd72e6e0b72edce7e51042.zip
Typo fixes
Diffstat (limited to 'samples/09_performance')
-rw-r--r--samples/09_performance/02_sprites_as_entities/app/main.rb2
-rw-r--r--samples/09_performance/04_sprites_as_classes/app/main.rb2
-rw-r--r--samples/09_performance/05_static_sprites_as_classes/app/main.rb2
-rw-r--r--samples/09_performance/06_static_sprites_as_classes_with_custom_drawing/app/main.rb2
4 files changed, 4 insertions, 4 deletions
diff --git a/samples/09_performance/02_sprites_as_entities/app/main.rb b/samples/09_performance/02_sprites_as_entities/app/main.rb
index 21babda..203dbe0 100644
--- a/samples/09_performance/02_sprites_as_entities/app/main.rb
+++ b/samples/09_performance/02_sprites_as_entities/app/main.rb
@@ -1,5 +1,5 @@
# Sprites represented as Entities using the queue ~args.outputs.sprites~
-# yields nicer access apis over Hashes, but require a bit more code upfront.
+# yields nicer access apis over Hashes, but requires a bit more code upfront.
# The hash sample has to use star[:s] to get the speed of the star, but
# an entity can use .s instead.
def random_x args
diff --git a/samples/09_performance/04_sprites_as_classes/app/main.rb b/samples/09_performance/04_sprites_as_classes/app/main.rb
index 2b43a98..d69dc66 100644
--- a/samples/09_performance/04_sprites_as_classes/app/main.rb
+++ b/samples/09_performance/04_sprites_as_classes/app/main.rb
@@ -22,7 +22,7 @@ class Star
end
end
-# calls methods needed for game to run properly
+# calls methods needed for the game to run properly
def tick args
# sets console command when sample app initially opens
if Kernel.global_tick_count == 0
diff --git a/samples/09_performance/05_static_sprites_as_classes/app/main.rb b/samples/09_performance/05_static_sprites_as_classes/app/main.rb
index cbfe00a..f87b110 100644
--- a/samples/09_performance/05_static_sprites_as_classes/app/main.rb
+++ b/samples/09_performance/05_static_sprites_as_classes/app/main.rb
@@ -23,7 +23,7 @@ class Star
end
end
-# calls methods needed for game to run properly
+# calls methods needed for the game to run properly
def tick args
# sets console command when sample app initially opens
if Kernel.global_tick_count == 0
diff --git a/samples/09_performance/06_static_sprites_as_classes_with_custom_drawing/app/main.rb b/samples/09_performance/06_static_sprites_as_classes_with_custom_drawing/app/main.rb
index 4d8719d..31f5c9f 100644
--- a/samples/09_performance/06_static_sprites_as_classes_with_custom_drawing/app/main.rb
+++ b/samples/09_performance/06_static_sprites_as_classes_with_custom_drawing/app/main.rb
@@ -47,7 +47,7 @@ class Star
end
end
-# calls methods needed for game to run properly
+# calls methods needed for the game to run properly
def tick args
# sets console command when sample app initially opens
if Kernel.global_tick_count == 0