starcheese/weapons_system.gd
2024-10-04 09:14:09 +01:00

17 lines
218 B
GDScript

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