class Tradify::Message
Direct Known Subclasses
Defined in:
tradify/message.cr
Constant Summary
-
BACKGROUND_COLOR =
LibRay::Color.new(r: 51, g: 51, b: 51, a: 255)
-
BORDER =
5
-
BORDER_COLOR =
LibRay::Color.new(r: 85, g: 85, b: 85, a: 255)
-
ICON_BLINK_INTERVAL =
(ICON_BLINK_TIMER / ICON_BLINKS) / 2
-
ICON_BLINK_TIMER =
1.0
-
ICON_BLINKS =
1.125
-
ICON_SIZE =
16
-
MARGIN =
75
-
MAX_TEXT_WIDTH =
((Game::SCREEN_WIDTH - (MARGIN * 2)) - (BORDER * 2)) - (PADDING * 2)
-
PADDING =
30
-
SPACING =
3
-
TEXT_SIZE =
20
Constructors
Instance Method Summary
Constructor Detail
def self.
new(text : Array(String))
#
def self.
new(text : String)
#
Instance Method Detail