Add a map-loader sctipt
This commit is contained in:
11
scenes/maps/base/single_spawn_controller.gd
Normal file
11
scenes/maps/base/single_spawn_controller.gd
Normal file
@ -0,0 +1,11 @@
|
||||
extends Node3D
|
||||
|
||||
var busy: bool = false
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
pass # Replace with function body.
|
||||
|
||||
func choose_spawn_location() -> Vector3:
|
||||
busy = true
|
||||
return global_position
|
Reference in New Issue
Block a user