Use upper-cased first letter at the start of comment sentences

This commit is contained in:
Rémi Verschelde
2015-11-21 13:31:25 +01:00
parent 8639cecf4c
commit 8c4f19e79d
30 changed files with 150 additions and 164 deletions

View File

@ -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()

View File

@ -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

View File

@ -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()