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,8 +1,7 @@
extends Tower
class_name HitscanTower
class_name HitscanTower extends Tower
func shoot():
func shoot() -> void:
super.shoot()
if targeted_enemy and is_instance_valid(targeted_enemy) and targeted_enemy.alive:
targeted_enemy.damage(damage)
@@ -11,5 +10,5 @@ func shoot():
@rpc("reliable")
func networked_shoot():
func networked_shoot() -> void:
super.networked_shoot()