komodo/ecs/systems/system

Types

System = ref SystemObj
  Source Edit

Funcs

func deregisterComponent(self: System; component: Component): bool {...}{.locks: 0,
    raises: [KeyError], tags: [].}
  Source Edit
func deregisterEntity(self: System; entity: Entity): bool {...}{.locks: 0,
    raises: [], tags: [].}
  Source Edit
func destroy(self: var SystemObj) {...}{.raises: [], tags: [].}
  Source Edit
func entityToComponents(self: System): Table[EntityId, seq[Component]] {...}{.inline,
    locks: 0, raises: [], tags: [].}
  Source Edit
func findComponentByParent[T: Component](self: System; parentId: EntityId): Option[
    T] {...}{.locks: 0.}
  Source Edit
func findComponentByParent[T: Component](self: System; parent: Entity): Option[T] {...}{.
    locks: 0.}
  Source Edit
func isInitialized(self: SystemObj | System): bool {...}{.inline, locks: 0.}
  Source Edit
func registerComponent(self: System; component: Component): bool {...}{.locks: 0,
    raises: [KeyError], tags: [].}
  Source Edit
func refreshEntityRegistration(self: System; entity: Entity) {...}{.locks: 0,
    raises: [KeyError], tags: [].}
  Source Edit
func registerEntity(self: System; entity: Entity;
                    componentStore: Table[ComponentId, Component]): bool {...}{.
    locks: 0, raises: [KeyError], tags: [].}
  Source Edit

Methods

method hasNecessaryComponents(self: System; entity: Entity;
                              components: seq[Component]): bool {...}{.base,
    locks: 0, raises: [], tags: [].}
  Source Edit
method initialize(self: System) {...}{.base, locks: 0, raises: [], tags: [].}
  Source Edit
method draw(self: System; injected_camera: Camera) {...}{.base, raises: [], tags: [].}
  Source Edit
method update(self: System; delta: float32) {...}{.base, raises: [], tags: [].}
  Source Edit