Search
Preparing search index...
The search index is not available
@esengine/egret-framework
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"Utils/Timers/Timer"
es
Timer
Class Timer
Hierarchy
Timer
Implements
ITimer
Index
Properties
_elapsed
Time
_is
Done
_on
Time
_repeats
_time
InSeconds
context
Methods
get
Context
initialize
reset
stop
tick
unload
Properties
_elapsed
Time
_elapsed
Time
:
number
= 0
_is
Done
_is
Done
:
boolean
= false
_on
Time
_on
Time
:
(
timer
:
ITimer
)
=>
void
Type declaration
(
timer
:
ITimer
)
:
void
Parameters
timer:
ITimer
Returns
void
_repeats
_repeats
:
boolean
= false
_time
InSeconds
_time
InSeconds
:
number
= 0
context
context
:
any
Methods
get
Context
get
Context<T>
(
)
:
T
Type parameters
T
Returns
T
initialize
initialize
(
timeInsSeconds
:
number
, repeats
:
boolean
, context
:
any
, onTime
:
(
timer
:
ITimer
)
=>
void
)
:
void
Parameters
timeInsSeconds:
number
repeats:
boolean
context:
any
onTime:
(
timer
:
ITimer
)
=>
void
(
timer
:
ITimer
)
:
void
Parameters
timer:
ITimer
Returns
void
Returns
void
reset
reset
(
)
:
void
Returns
void
stop
stop
(
)
:
void
Returns
void
tick
tick
(
)
:
boolean
Returns
boolean
unload
unload
(
)
:
void
空出对象引用,以便在js需要时GC可以清理它们的引用
Returns
void
Globals
"
Utils/
Timers/
Timer"
es
Timer
_elapsed
Time
_is
Done
_on
Time
_repeats
_time
InSeconds
context
get
Context
initialize
reset
stop
tick
unload
Generated using
TypeDoc
空出对象引用,以便在js需要时GC可以清理它们的引用