This commit is contained in:
2024-12-31 00:37:45 +01:00
parent 6cf19a6f9b
commit 3465acd673
5 changed files with 66 additions and 53 deletions

View File

@@ -53,12 +53,13 @@ Renderable :: struct {
MAX_CHILDREN :: 16;
Entity :: struct {
name: string;
id: Entity_Id; @Hide @DontSerialize
type : Type;
enabled: bool = true;
name: string;
parent: *Entity; @DontSerialize
children: [MAX_CHILDREN] *Entity; @DontSerialize