diff options
| author | Simon Chiang <[email protected]> | 2021-04-23 11:18:12 -0600 |
|---|---|---|
| committer | Amir Rajan <[email protected]> | 2021-05-26 16:07:47 -0500 |
| commit | 0f348fa240ff2bb0fa508368411e6d1fc73e167a (patch) | |
| tree | e3466e15e191026cc5f2c1debde1a4bd21b5b05a /samples | |
| parent | 575b8ce2722d23355b137905e39aaaed2436b0ce (diff) | |
| download | dragonruby-game-toolkit-contrib-0f348fa240ff2bb0fa508368411e6d1fc73e167a.tar.gz dragonruby-game-toolkit-contrib-0f348fa240ff2bb0fa508368411e6d1fc73e167a.zip | |
Fix spelling separator not seperator
Diffstat (limited to 'samples')
| -rw-r--r-- | samples/00_learn_ruby_optional/00_beginner_ruby_primer/app/main.rb | 10 | ||||
| -rw-r--r-- | samples/07_advanced_rendering/03_render_target_viewports/app/main.rb | 24 |
2 files changed, 17 insertions, 17 deletions
diff --git a/samples/00_learn_ruby_optional/00_beginner_ruby_primer/app/main.rb b/samples/00_learn_ruby_optional/00_beginner_ruby_primer/app/main.rb index 6822cf3..711ca74 100644 --- a/samples/00_learn_ruby_optional/00_beginner_ruby_primer/app/main.rb +++ b/samples/00_learn_ruby_optional/00_beginner_ruby_primer/app/main.rb @@ -83,8 +83,8 @@ def tick_reset_button end end -def seperator - @seperator = "=" * 80 +def separator + @separator = "=" * 80 end def tick_intro @@ -286,11 +286,11 @@ def queue_message message $gtk.args.state.messages << message last_three = [$gtk.console.log[-3], $gtk.console.log[-2], $gtk.console.log[-1]].reject_nil $gtk.console.log.clear - puts seperator + puts separator $gtk.console.log += last_three - puts seperator + puts separator puts message - puts seperator + puts separator end def console_has? message diff --git a/samples/07_advanced_rendering/03_render_target_viewports/app/main.rb b/samples/07_advanced_rendering/03_render_target_viewports/app/main.rb index b748ffa..5c38d6c 100644 --- a/samples/07_advanced_rendering/03_render_target_viewports/app/main.rb +++ b/samples/07_advanced_rendering/03_render_target_viewports/app/main.rb @@ -111,7 +111,7 @@ class TechDemo button_tech_demo export_game_state_demo window_state_demo - render_seperators + render_separators end # Shows output of different kinds of labels on the screen @@ -408,28 +408,28 @@ class TechDemo end #Sets values for the horizontal separator (divides demo sections) - def horizontal_seperator y, x, x2 + def horizontal_separator y, x, x2 [x, y, x2, y, 150, 150, 150] end #Sets the values for the vertical separator (divides demo sections) - def vertical_seperator x, y, y2 + def vertical_separator x, y, y2 [x, y, x, y2, 150, 150, 150] end # Outputs vertical and horizontal separators onto the screen to separate each demo section. - def render_seperators - outputs.lines << horizontal_seperator(505, grid.left, 445) - outputs.lines << horizontal_seperator(353, grid.left, 445) - outputs.lines << horizontal_seperator(264, grid.left, 445) - outputs.lines << horizontal_seperator(174, grid.left, 445) + def render_separators + outputs.lines << horizontal_separator(505, grid.left, 445) + outputs.lines << horizontal_separator(353, grid.left, 445) + outputs.lines << horizontal_separator(264, grid.left, 445) + outputs.lines << horizontal_separator(174, grid.left, 445) - outputs.lines << vertical_seperator(445, grid.top, grid.bottom) + outputs.lines << vertical_separator(445, grid.top, grid.bottom) - outputs.lines << horizontal_seperator(690, 445, 820) - outputs.lines << horizontal_seperator(426, 445, 820) + outputs.lines << horizontal_separator(690, 445, 820) + outputs.lines << horizontal_separator(426, 445, 820) - outputs.lines << vertical_seperator(820, grid.top, grid.bottom) + outputs.lines << vertical_separator(820, grid.top, grid.bottom) end end |
