Module sprite_frames

Procs

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