class Buzzle::Timer

Defined in:

buzzle/timer.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(length : Float64 | Float32 | Int32, start_time : Float32 = 0_f32) #

[View source]

Instance Method Detail

def done? #

[View source]
def increase(delta_t : Float32) #

[View source]
def length : Float64 | Float32 | Int32 #

[View source]
def percentage #

[View source]
def progressing? #

[View source]
def reset(start_time : Float32 = 0_f32) #

[View source]
def restart(start_time = 0_f32) #

[View source]
def start #

[View source]
def started? : Bool #

[View source]
def time : Float32 #

[View source]
def toggle? #

[View source]