Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
rover
master
Rover
Font
Game
Ground
HUD
Joysticks
Keys
Mouse
Movable
Ore
Player
Rover
Scene
Main
Start
Screen
Stage
TileMap
Timer
Generated using Crystal 1.14.0
2024-11-26 09:01:18 UTC
class
Rover::
HUD
Rover::HUD
Reference
Object
Defined in:
rover/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
]