summaryrefslogtreecommitdiffhomepage
path: root/samples/02_input_basics
diff options
context:
space:
mode:
authorOlly Mills <[email protected]>2021-02-17 01:32:09 +0000
committerAmir Rajan <[email protected]>2021-02-17 18:22:39 -0800
commitcb51bc152392ae8baec4f2584ec0500f7e8a023b (patch)
treefe1ce1c21c276ebc01f39455b6e1b04d47be5cd8 /samples/02_input_basics
parentf923bcb6f502cee26b72208499aaa33e0020a0ed (diff)
downloaddragonruby-game-toolkit-contrib-cb51bc152392ae8baec4f2584ec0500f7e8a023b.tar.gz
dragonruby-game-toolkit-contrib-cb51bc152392ae8baec4f2584ec0500f7e8a023b.zip
removed old references to documentation from all sample apps
Diffstat (limited to 'samples/02_input_basics')
-rw-r--r--samples/02_input_basics/01_keyboard/app/main.rb3
-rw-r--r--samples/02_input_basics/05_controller/app/main.rb2
2 files changed, 1 insertions, 4 deletions
diff --git a/samples/02_input_basics/01_keyboard/app/main.rb b/samples/02_input_basics/01_keyboard/app/main.rb
index ee5c8cf..3c5e1b4 100644
--- a/samples/02_input_basics/01_keyboard/app/main.rb
+++ b/samples/02_input_basics/01_keyboard/app/main.rb
@@ -4,8 +4,7 @@ APIs listing that haven't been encountered in a previous sample apps:
- args.inputs.keyboard.key_up.KEY: The value of the properties will be set
to the frame that the key_up event occurred (the frame correlates
- to args.state.tick_count). Otherwise the value will be nil. For a
- full listing of keys, take a look at mygame/documentation/06-keyboard.md.
+ to args.state.tick_count). Otherwise the value will be nil.
- args.state.PROPERTY: The state property on args is a dynamic
structure. You can define ANY property here with ANY type of
arbitrary nesting. Properties defined on args.state will be retained
diff --git a/samples/02_input_basics/05_controller/app/main.rb b/samples/02_input_basics/05_controller/app/main.rb
index 99cca15..c986fa9 100644
--- a/samples/02_input_basics/05_controller/app/main.rb
+++ b/samples/02_input_basics/05_controller/app/main.rb
@@ -7,8 +7,6 @@
If there is more than one controller being used, they can be differentiated by
using names like controller_one and controller_two.
- For a full listing of buttons, take a look at mygame/documentation/08-controllers.md.
-
Reminder:
- args.state.PROPERTY: The state property on args is a dynamic