class Allegro::Timer

Defined in:

Class Method Summary

Instance Method Summary

Class Method Detail

def self.for(seconds : Float | Int) #

def self.for(span : Time::Span) #

Instance Method Detail

def add_to_count(diff) #

def count #

def count=(value) #

def finalize #

def resume #

def speed #

def speed=(value) #

def start #

def started? : Bool #

def stop #

def to_unsafe : Allegro::LibCore::Timer #

Returns pointer to ALLEGRO_TIMER for using Allegro API directly