summaryrefslogtreecommitdiffhomepage
path: root/dragon
diff options
context:
space:
mode:
authorAmir Rajan <[email protected]>2020-07-08 20:03:26 -0500
committerGitHub <[email protected]>2020-07-08 20:03:26 -0500
commit527781cab2010e5ccfdcc3278c2f2083f8caf287 (patch)
tree4bb7d3b0634f3f71cbc89a41283347d3cf181f63 /dragon
parent70f34fd8c989940dd7360d86e1e8e279c3add7ed (diff)
downloaddragonruby-game-toolkit-contrib-527781cab2010e5ccfdcc3278c2f2083f8caf287.tar.gz
dragonruby-game-toolkit-contrib-527781cab2010e5ccfdcc3278c2f2083f8caf287.zip
Update directional_input_helper_methods.rb
Diffstat (limited to 'dragon')
-rw-r--r--dragon/directional_input_helper_methods.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/dragon/directional_input_helper_methods.rb b/dragon/directional_input_helper_methods.rb
index dcf5f07..3891b5b 100644
--- a/dragon/directional_input_helper_methods.rb
+++ b/dragon/directional_input_helper_methods.rb
@@ -54,8 +54,8 @@ S
# - `nil` which denotes that no directional input exists.
# - `[ 0, 1]` which denotes that only up is being held/pressed.
# - `[ 0, -1]` which denotes that only down is being held/pressed.
- # - `[ 1, 1]` which denotes that right and up are being pressed/held.
- # - `[-1, -1]` which denotes that left and down are being pressed/held.
+ # - `[ 0.5, 0.5]` which denotes that right and up are being pressed/held.
+ # - `[-0.5, -0.5]` which denotes that left and down are being pressed/held.
#
# @gtk
def directional_vector