starcheese/weapons_system.gd

17 lines
218 B
GDScript3
Raw Normal View History

2024-10-03 18:12:33 +01:00
class_name WeaponsSystem
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")