EntityTemplate
Defined in: src/template.ts:2
Blueprint for spawning an entity: declares which components and tags to attach.
Properties
Section titled “Properties”components?
Section titled “components?”
readonlyoptionalcomponents?:Readonly<Record<string,unknown>>
Defined in: src/template.ts:5
Component name → serialized value pairs to attach on spawn.
readonlyname:string
Defined in: src/template.ts:3
readonlyoptionaltags?: readonlystring[]
Defined in: src/template.ts:7
Tag names to attach on spawn.