starcheese/weapons_system.gd

16 lines
193 B
GDScript3
Raw Normal View History

2024-10-01 16:43:34 +02:00
extends Node
var weapons = []
func _ready():
pass
func fire_all():
get_tree().call_group("weapons", "fire")
func cease_fire_all():
get_tree().call_group("weapons", "cease_fire")