basic ECS spawner

This commit is contained in:
2026-01-15 15:27:48 +01:00
parent 24a781f36a
commit eb737b469c
860 changed files with 58621 additions and 32 deletions

View File

@@ -0,0 +1,15 @@
class_name E_ComplexSerializationTest
extends Entity
func define_components() -> Array:
return [
C_ComplexSerializationTest.new(
[10, 20, 30],
["alpha", "beta", "gamma"],
{"hp": 100, "mp": 50, "items": 3},
[],
{}
),
C_SerializationTest.new(999, 2.718, "complex_entity", false, Vector2(5.0, 10.0), Vector3(1.0, 2.0, 3.0), Color.BLUE)
]