class Bench::Animations

Defined in:

bench/animations.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def add(animation : Animation, name : Symbol) #

[View source]
def animation : Animation | Nil #

[View source]
def animation=(animation : Animation | Nil) #

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

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

[View source]
def destroy #

[View source]
def draw(x, y) #

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

[View source]
def update #

[View source]