Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
intro_cr_sf
master
IntroCrSf
Font
Game
HUD
Joysticks
Keys
Mouse
Player
Scene
Main
Start
Screen
Stage
Timer
Built with Crystal 1.9.2
2023-10-07 18:24:24 UTC
class
IntroCrSf::HUD
IntroCrSf::HUD
Reference
Object
Defined in:
intro_cr_sf/hud.cr
Constant Summary
Margin
=
10
TextColor
=
SF
::
Color
::
Green
Constructors
.new
Instance Method Summary
#draw
(window : SF::RenderWindow)
#text
: SF::Text
#update
(frame_time)
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)
#
[
View source
]