Module animated_sprite

Procs

proc frames*(self: AnimatedSprite): SpriteFrames {.
gcsafe, locks: 0
.}
proc `frames =`*(self: AnimatedSprite; val: SpriteFrames) {.
gcsafe, locks: 0
.}
proc animation*(self: AnimatedSprite): string {.
gcsafe, locks: 0
.}
proc `animation =`*(self: AnimatedSprite; val: string) {.
gcsafe, locks: 0
.}
proc frame*(self: AnimatedSprite): int64 {.
gcsafe, locks: 0
.}
proc `frame =`*(self: AnimatedSprite; val: int64) {.
gcsafe, locks: 0
.}
proc playing*(self: AnimatedSprite): bool {.
gcsafe, locks: 0
.}
proc `playing =`*(self: AnimatedSprite; val: bool) {.
gcsafe, locks: 0
.}
proc centered*(self: AnimatedSprite): bool {.
gcsafe, locks: 0
.}
proc `centered =`*(self: AnimatedSprite; val: bool) {.
gcsafe, locks: 0
.}
proc offset*(self: AnimatedSprite): Vector2 {.
gcsafe, locks: 0
.}
proc `offset =`*(self: AnimatedSprite; val: Vector2) {.
gcsafe, locks: 0
.}
proc flipH*(self: AnimatedSprite): bool {.
gcsafe, locks: 0
.}
proc `flipH =`*(self: AnimatedSprite; val: bool) {.
gcsafe, locks: 0
.}
proc flipV*(self: AnimatedSprite): bool {.
gcsafe, locks: 0
.}
proc `flipV =`*(self: AnimatedSprite; val: bool) {.
gcsafe, locks: 0
.}
proc play*(self: AnimatedSprite; anim: string = "") {.
gcsafe, locks: 0
.}
proc stop*(self: AnimatedSprite) {.
gcsafe, locks: 0
.}
proc isPlayingImpl*(self: AnimatedSprite): bool {.
gcsafe, locks: 0
.}

Methods

method resChanged*(self: AnimatedSprite) {.
gcsafe, locks: 0, base
.}