TowerDefense/Tiles/cube.gd

7 lines
104 B
GDScript3
Raw Permalink Normal View History

extends StaticBody3D
class_name TheCube
2025-09-04 02:54:37 +02:00
func take_damage(damage: int) -> void:
Game.health -= damage