Module sprite_frames

Procs

proc frames*(self: SpriteFrames): Array {.
gcsafe, locks: 0
.}
proc `frames =`*(self: SpriteFrames; val: Array) {.
gcsafe, locks: 0
.}
proc animations*(self: SpriteFrames): Array {.
gcsafe, locks: 0
.}
proc `animations =`*(self: SpriteFrames; val: Array) {.
gcsafe, locks: 0
.}
proc addAnimation*(self: SpriteFrames; anim: string) {.
gcsafe, locks: 0
.}
proc hasAnimation*(self: SpriteFrames; anim: string): bool {.
gcsafe, locks: 0
.}
proc removeAnimation*(self: SpriteFrames; anim: string) {.
gcsafe, locks: 0
.}
proc renameAnimation*(self: SpriteFrames; anim: string; newname: string) {.
gcsafe, locks: 0
.}
proc setAnimationSpeed*(self: SpriteFrames; anim: string; speed: float64) {.
gcsafe, locks: 0
.}
proc getAnimationSpeed*(self: SpriteFrames; anim: string): float64 {.
gcsafe, locks: 0
.}
proc setAnimationLoop*(self: SpriteFrames; anim: string; loop: bool) {.
gcsafe, locks: 0
.}
proc getAnimationLoop*(self: SpriteFrames; anim: string): bool {.
gcsafe, locks: 0
.}
proc addFrame*(self: SpriteFrames; anim: string; frame: Texture; atpos: int64 = - 1'i64) {.
gcsafe, locks: 0
.}
proc getFrameCount*(self: SpriteFrames; anim: string): int64 {.
gcsafe, locks: 0
.}
proc getFrame*(self: SpriteFrames; anim: string; idx: int64): Texture {.
gcsafe, locks: 0
.}
proc setFrame*(self: SpriteFrames; anim: string; idx: int64; txt: Texture) {.
gcsafe, locks: 0
.}
proc removeFrame*(self: SpriteFrames; anim: string; idx: int64) {.
gcsafe, locks: 0
.}
proc clear*(self: SpriteFrames; anim: string) {.
gcsafe, locks: 0
.}
proc clearAll*(self: SpriteFrames) {.
gcsafe, locks: 0
.}