class Works::Animations

Defined in:

works/animations.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def add(name : Symbol, animation : Animation, flip_horizontal = false, flip_vertical = false) #

[View source]
def animations : Hash(Symbol, AnimationData) #

[View source]
def animations=(animations : Hash(Symbol, AnimationData)) #

[View source]
def destroy #

[View source]
def done? #

[View source]
def draw(x, y, flip_horizontal = false, flip_vertical = false) #

[View source]
def pause #

[View source]
def play(name : Symbol) #

[View source]
def update #

[View source]