godot-steering-ai-framework/project/demos/seek_and_flee/Spawner.gd

12 lines
264 B
GDScript3
Raw Normal View History

extends Node2D
"""
Holds data to instantiate and configure a number of agent entities.
"""
export(PackedScene) var Entity: PackedScene
export var entity_count: = 10
export var entity_color: = Color.blue
export var min_speed: = 50.0
export var max_speed: = 125.0