class Mittsu::Clock

Defined in:

mittsu/core/clock.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(auto_start : Bool = true) #

[View source]

Instance Method Detail

def auto_start : Bool #

[View source]
def auto_start=(auto_start : Bool) #

[View source]
def elapsed_time : Time::Span #

[View source]
def elapsed_time=(elapsed_time : Time::Span) #

[View source]
def get_delta #

[View source]
def get_elapsed_time #

[View source]
def old_time : Time #

[View source]
def old_time=(old_time : Time) #

[View source]
def running : Bool #

[View source]
def running=(running : Bool) #

[View source]
def start #

[View source]
def start_time : Time #

[View source]
def start_time=(start_time : Time) #

[View source]
def stop #

[View source]