src/necsus/runtime/entityId

Search:
Group by:

Types

EntityId = distinct uint
Identity of an entity

Procs

proc `$`(entityId: EntityId): string {....raises: [], tags: [], forbids: [].}
Stringify an EntityId
proc `==`(a, b: EntityId): bool {....raises: [], tags: [], forbids: [].}
Compare two entities
proc hash(entityId: EntityId): Hash {....raises: [], tags: [], forbids: [].}
proc incGen(entityId: EntityId): EntityId {....raises: [], tags: [], forbids: [].}
Increments the generation of an entity
proc toInt(entityId: EntityId): uint {.inline, ...raises: [], tags: [], forbids: [].}