Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
looper
v0.1.5
Looper
Accent
Car
Checkpoint
Course
DifficultyMenu
Game
Grass
GrassAccent
HeadsUpDisplay
MainMenu
Menu
MenuItem
Message
Motorcycle
Obj
PauseMenu
Player
River
RiverAccent
Road
RoadCorner
RoadRail
RoadTurn
Tile
Trig
Vector
Vehicle
Built with Crystal 1.9.2
2023-10-08 13:50:48 UTC
class
Looper::HeadsUpDisplay
Looper::HeadsUpDisplay
Reference
Object
Defined in:
looper/heads_up_display.cr
Constant Summary
PADDING
=
15
TEXT_COLOR
=
Color
::
White
Constructors
.new
Instance Method Summary
#draw
#loops=
(value : UInt16)
#update
(frame_time)
Constructor Detail
def self.
new
#
[
View source
]
Instance Method Detail
def
draw
#
[
View source
]
def
loops=
(value : UInt16)
#
[
View source
]
def
update
(frame_time)
#
[
View source
]