toggle menu
KStg
1.0-SNAPSHOT
jvm
switch theme
search in API
KStg
/
top.kkoishi.stg.util
/
Timer
Timer
sealed
class
Timer
A simple timer for timing, and the time unit of it is logic frames.
Author
KKoishi_
Inheritors
Default
Delayed
Loop
Members
Types
Default
Link copied to clipboard
class
Default
(
time
:
Long
)
:
Timer
Delayed
Link copied to clipboard
class
Delayed
(
time
:
Long
,
delay
:
Long
)
:
Timer
Loop
Link copied to clipboard
class
Loop
(
interval
:
Long
)
:
Timer
Functions
cur
Link copied to clipboard
fun
cur
(
)
:
Long
end
Link copied to clipboard
open
fun
end
(
)
:
Boolean
If the timer is ended.
time
Link copied to clipboard
fun
time
(
)
:
Long