basic ECS spawner
This commit is contained in:
9
addons/gecs/tests/entities/e_serialization_test.gd
Normal file
9
addons/gecs/tests/entities/e_serialization_test.gd
Normal file
@@ -0,0 +1,9 @@
|
||||
class_name E_SerializationTest
|
||||
extends Entity
|
||||
|
||||
|
||||
func define_components() -> Array:
|
||||
return [
|
||||
C_SerializationTest.new(),
|
||||
C_Persistent.new("TestPlayer", 5, 75.0, Vector2(10.0, 20.0), ["sword", "potion"])
|
||||
]
|
||||
Reference in New Issue
Block a user