Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
jam_warm_up
master
JamWarmUp
BenBullet
Bullet
CollisionBox
Enemy
Font
Game
HUD
Joysticks
Keys
Mouse
Nom
Player
Scene
Main
Start
Screen
Ship
Stage
Timer
Rename
Generated using Crystal 1.14.0
2024-11-26 09:00:58 UTC
class
JamWarmUp::
HUD
JamWarmUp::HUD
Reference
Object
Defined in:
jam_warm_up/hud.cr
Constant Summary
FontSize
=
24
Margin
=
16
TextColor
=
SF
::
Color
::
Green
Constructors
.new
Instance Method Summary
#draw
(window : SF::RenderWindow)
#text
: SF::Text
#update
(frame_time, score)
Constructor Detail
def self.
new
#
[
View source
]
Instance Method Detail
def
draw
(window : SF::RenderWindow)
#
[
View source
]
def
text
: SF::Text
#
[
View source
]
def
update
(frame_time, score)
#
[
View source
]