Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
fog_of_war
master
FogOfWar
FloorTile
Font
Game
HUD
Joysticks
Keys
Level
FloorTiles
LevelData
Line
Mouse
Player
Point
Scene
Editor
Main
Start
Screen
Stage
Timer
Visibility
Generated using Crystal 1.14.0
2024-11-26 09:00:32 UTC
class
FogOfWar::
HUD
FogOfWar::HUD
Reference
Object
Defined in:
fog_of_war/hud.cr
Constant Summary
Margin
=
8
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
]