Index
Modules:
tecs
.
API symbols
addComponent:
tecs: addComponent[T](world: var World; entity: uint64; component: T): ptr T
tecs: addComponent[T](world: var World; entity: uint64; componentType: typedesc[T]): ptr T
addEntity:
tecs: addEntity(world: var World): uint64
addTag:
tecs: addTag(world: var World; entity: uint64; tagType: typedesc)
Entity:
tecs: Entity
freeEntity:
tecs: freeEntity(world: var World; entity: uint64)
getComponent:
tecs: getComponent[T](world: var World; entity: uint64; componentType: typedesc[T]): ptr T
getEntityId:
tecs: getEntityId(entity: uint64): uint32
getEntityVersion:
tecs: getEntityVersion(entity: uint64): uint32
initWorld:
tecs: initWorld(initAlloc: uint32 = 1000; allocSize: uint32 = 1000): World
removeComponent:
tecs: removeComponent(world: var World; entity: uint64; componentType: typedesc)
removeTag:
tecs: removeTag(world: var World; entity: uint64; tagType: typedesc)
withComponent:
tecs: withComponent(entities: seq[uint64]; world: var World; componentType: typedesc): seq[ uint64]
tecs: withComponent(world: var World; componentType: typedesc): seq[uint64]
withTag:
tecs: withTag(entities: seq[uint64]; world: var World; tagType: typedesc): seq[uint64]
tecs: withTag(world: var World; tagType: typedesc): seq[uint64]
World:
tecs: World