class Tetryst::Timer

Defined in:

tetryst/timer.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(length : Float64 | Float32 | Int32) #

[View source]

Instance Method Detail

def active? : Bool #

[View source]
def done? #

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

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

[View source]
def percentage #

[View source]
def reset #

[View source]
def restart #

[View source]
def start #

[View source]
def time : Float32 #

[View source]