enabled enforced static typing

This commit is contained in:
2024-02-22 06:22:22 +11:00
parent e1a867d2a9
commit a93660f755
1645 changed files with 24730 additions and 2078 deletions

View File

@ -1,10 +1,10 @@
extends Control
class_name LivesBarSegment
var lives_left := 6
var lives_left: int = 6
func take_life(value : int):
for x in value:
func take_life(value: int) -> void:
for x: int in value:
lives_left -= 1
if lives_left == 5:
$AnimationPlayer.play("lose1")