starcheese/weapons_system.gd

16 lines
193 B
GDScript

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")