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