class Looper::Message

Defined in:

looper/message.cr

Constant Summary

BORDER_SIZE = 3
MARGIN = 13
MIN_DELAY = 0.5
PADDING = 13

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Class Method Detail

def self.done? #

[View source]
def self.init #

required to load font after game intialized


[View source]
def self.message #

[View source]
def self.show(message : String) #

[View source]
def self.shown? #

[View source]

Instance Method Detail

def delay? #

[View source]
def done? : Bool #

[View source]
def draw #

[View source]
def draw_background #

[View source]
def draw_border #

[View source]
def draw_message(x_start = MARGIN + BORDER_SIZE) #

[View source]
def hide #

[View source]
def show(message : String) #

[View source]
def shown? : Bool #

[View source]
def update(frame_time) #

[View source]
def update_text_measured #

[View source]