summaryrefslogtreecommitdiffhomepage
path: root/samples/09_performance
diff options
context:
space:
mode:
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