komodo/ecs/components/sprite_component

Types

SpriteComponent = ref SpriteComponentObj
  Source Edit

Procs

proc newSpriteComponent(parent: Entity; texturePath: string; color: Color): SpriteComponent {...}{.
    raises: [], tags: [TimeEffect].}
  Source Edit

Funcs

func color=(self: SpriteComponent; value: Color): auto {...}{.raises: [], tags: [].}
  Source Edit
func color(self: SpriteComponent): auto {...}{.raises: [], tags: [].}
  Source Edit
func texture(self: SpriteComponent): auto {...}{.raises: [], tags: [].}
  Source Edit

Methods

method initialize(self: SpriteComponent) {...}{.locks: "unknown", raises: [],
    tags: [].}
  Source Edit