starcheese/weapons_system.gd
Elliot Stirling 7542472833 Event Bus
2024-10-03 18:12:33 +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")