update format, following gdscript format guide
This commit is contained in:
parent
38877673b5
commit
b7a8dfaa76
3 changed files with 43 additions and 42 deletions
|
@ -1,6 +1,7 @@
|
||||||
extends Button
|
extends Button
|
||||||
|
|
||||||
onready var villain = $"../Villain/AnimatedSprite"
|
onready var villain = $"../Villain/AnimatedSprite"
|
||||||
|
|
||||||
var etat
|
var etat
|
||||||
var texture_pressed = preload("res://Assets/skin_assets/button_normal.png")
|
var texture_pressed = preload("res://Assets/skin_assets/button_normal.png")
|
||||||
var texture_released = preload("res://Assets/skin_assets/button_pressed.png")
|
var texture_released = preload("res://Assets/skin_assets/button_pressed.png")
|
||||||
|
|
|
@ -22,4 +22,4 @@ func _on_Help_Button_pressed():
|
||||||
|
|
||||||
func _on_Quit_Button_pressed():
|
func _on_Quit_Button_pressed():
|
||||||
get_tree().quit()
|
get_tree().quit()
|
||||||
# Replace with function body.
|
# Replace with function body.
|
||||||
|
|
Reference in a new issue