From d5115606c96b0fe0affd72e6e0b72edce7e51042 Mon Sep 17 00:00:00 2001 From: Simon Chiang Date: Fri, 23 Apr 2021 09:46:41 -0600 Subject: Typo fixes --- samples/09_performance/02_sprites_as_entities/app/main.rb | 2 +- samples/09_performance/04_sprites_as_classes/app/main.rb | 2 +- samples/09_performance/05_static_sprites_as_classes/app/main.rb | 2 +- .../06_static_sprites_as_classes_with_custom_drawing/app/main.rb | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'samples/09_performance') 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 -- cgit v1.2.3