toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge
/
korlibs.korge.time
/
TimerComponents
Timer
Components
class
TimerComponents
(
val
view
:
View
)
Members
Constructors
Timer
Components
Link copied to clipboard
constructor
(
view
:
View
)
Properties
view
Link copied to clipboard
val
view
:
View
Functions
interval
Link copied to clipboard
fun
interval
(
time
:
TimeSpan
,
callback
:
(
)
->
Unit
=
{}
)
:
Closeable
interval
And
Now
Link copied to clipboard
fun
intervalAndNow
(
time
:
TimeSpan
,
callback
:
(
)
->
Unit
)
:
Closeable
timeout
Link copied to clipboard
fun
timeout
(
time
:
TimeSpan
,
callback
:
(
)
->
Unit
=
{}
)
:
Closeable
wait
Link copied to clipboard
suspend
fun
wait
(
time
:
TimeSpan
)
wait
Frame
Link copied to clipboard
suspend
fun
waitFrame
(
)