Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
escapist
master
Escapist
BaseBlock
Block
Box
CenteredMessage
Cursor
DoorConfig
Floor
FloorData
FloorSwitch
Font
Game
HUD
Joysticks
Keys
LaserBlock
LaserInfo
LaserSwitch
LastCursor
Message
MiniMap
Mouse
MovableBlock
Player
Room
TileGrid
TileRow
RoomData
RoomDoors
DoorKey
RoomEditor
ScaleHelpers
Scene
Editor
Main
NewItem
Start
Screen
Stage
Switch
TileObj
Timer
View
Generated using Crystal 1.14.0
2024-11-26 09:00:29 UTC
class
Escapist::
HUD
Escapist::HUD
Reference
Object
Defined in:
escapist/hud.cr
Constant Summary
FontSize
=
18
Margin
=
16
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
]