Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
game-of-life
main
Espresso
Mouse
MouseButtonEvent
GameOfLife
CellPlane
Cell
Pos
Client
Log
Matrix
OpenGL
Timer
Generated using Crystal 1.14.0
2024-11-26 07:13:58 UTC
struct
GameOfLife::
Timer
GameOfLife::Timer
Struct
Value
Object
Defined in:
game_of_life/timer.cr
Constructors
.new
(tick_rate : Int32)
Instance Method Summary
#elapsed_ticks
: Int64
#tick_rate
: Int32
#tick_rate=
(tick_rate : Int32)
#update
Constructor Detail
def self.
new
(tick_rate : Int32)
#
[
View source
]
Instance Method Detail
def
elapsed_ticks
: Int64
#
[
View source
]
def
tick_rate
: Int32
#
[
View source
]
def
tick_rate=
(tick_rate : Int32)
#
[
View source
]
def
update
#
[
View source
]