diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2015-11-21 13:31:25 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2015-12-09 08:39:12 +0100 |
commit | 8c4f19e79d3e8ac8bc8c283073dce5ccfbf222b5 (patch) | |
tree | c1124b6d4957389006024d1e1baa5de56e207fec /demos/gui | |
parent | 8639cecf4cedd56452b47503be19c44b304cd02f (diff) |
Use upper-cased first letter at the start of comment sentences
Diffstat (limited to 'demos/gui')
-rw-r--r-- | demos/gui/drag_and_drop/drag_drop_script.gd | 4 | ||||
-rw-r--r-- | demos/gui/input_mapping/controls.gd | 7 | ||||
-rw-r--r-- | demos/gui/translation/main.gd | 2 |
3 files changed, 7 insertions, 6 deletions
diff --git a/demos/gui/drag_and_drop/drag_drop_script.gd b/demos/gui/drag_and_drop/drag_drop_script.gd index 7bcaf1a35e..719c42fe8f 100644 --- a/demos/gui/drag_and_drop/drag_drop_script.gd +++ b/demos/gui/drag_and_drop/drag_drop_script.gd @@ -3,12 +3,12 @@ extends ColorPickerButton func get_drag_data(pos): - # use another colorpicker as drag preview + # Use another colorpicker as drag preview var cpb = ColorPickerButton.new() cpb.set_color(get_color()) cpb.set_size(Vector2(50, 50)) set_drag_preview(cpb) - # return color as drag data + # Return color as drag data return get_color() diff --git a/demos/gui/input_mapping/controls.gd b/demos/gui/input_mapping/controls.gd index 7420053ef1..3cee6e6871 100644 --- a/demos/gui/input_mapping/controls.gd +++ b/demos/gui/input_mapping/controls.gd @@ -1,3 +1,6 @@ + +extends Control + # Note for the reader: # # This demo conveniently uses the same names for actions and for the container nodes @@ -9,9 +12,7 @@ # action and the node, e.g.: # button.connect("pressed", self, "wait_for_input", [ button, action ]) -extends Control - -# member variables +# Member variables var player_actions = [ "move_up", "move_down", "move_left", "move_right", "jump" ] var action # To register the action the UI is currently handling var button # Button node corresponding to the above action diff --git a/demos/gui/translation/main.gd b/demos/gui/translation/main.gd index 9b188cd588..c3e788f82b 100644 --- a/demos/gui/translation/main.gd +++ b/demos/gui/translation/main.gd @@ -10,7 +10,7 @@ func _goto_scene(): func _on_system_pressed(): - # will autodetect based on system, then fall back + # Will autodetect based on system, then fall back # to english if not found _goto_scene() |