basic ECS spawner
This commit is contained in:
12
addons/gecs/tests/systems/s_test_nonexistent_group.gd
Normal file
12
addons/gecs/tests/systems/s_test_nonexistent_group.gd
Normal file
@@ -0,0 +1,12 @@
|
||||
class_name TestSystemNonexistentGroup
|
||||
extends System
|
||||
|
||||
var entities_found := []
|
||||
|
||||
|
||||
func query():
|
||||
return q.with_group(["NonexistentGroup"])
|
||||
|
||||
|
||||
func process(entities: Array[Entity], components: Array, delta: float) -> void:
|
||||
entities_found = entities.duplicate()
|
||||
Reference in New Issue
Block a user