11 lines
256 B
GDScript
11 lines
256 B
GDScript
extends Node3D
|
|
|
|
var selected_collider : CollisionObject3D
|
|
|
|
func _ready() -> void:
|
|
$WaveManager.spawn_next_wave()
|
|
EventBus.projectile_shooted.connect(onProjectileShooted)
|
|
|
|
|
|
func onProjectileShooted(projectile : Projectile) -> void:
|
|
add_child(projectile)
|