Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
rpg
master
Rename
RPG
Bag
Items
BagUI
Character
Collidable
Dialog
Direction
Font
Game
HUD
Item
Joysticks
Keys
Level
AllDialogData
Levels
World
Message
Mouse
NonPlayableCharacter
Player
Scene
Main
Start
Screen
Sign
Stage
Timer
Generated using Crystal 1.14.0
2024-11-26 09:01:25 UTC
class
RPG::
HUD
RPG::HUD
Reference
Object
Defined in:
rpg/hud.cr
Constant Summary
Margin
=
4
TextColor
=
SF
::
Color
::
White
Class Method Summary
.action=
(action : String)
.clear_action
.draw
(window : SF::RenderWindow)
.init
.update
(frame_time)
Class Method Detail
def self.
action=
(action : String)
#
[
View source
]
def self.
clear_action
#
[
View source
]
def self.
draw
(window : SF::RenderWindow)
#
[
View source
]
def self.
init
#
[
View source
]
def self.
update
(frame_time)
#
[
View source
]