Search
Preparing search index...
The search index is not available
@akashic/akashic-engine
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"lib/main.d"
g
TimerManager
Class TimerManager
Hierarchy
TimerManager
Implements
Destroyable
Index
Constructors
constructor
Properties
_fps
_identifiers
_registered
_timers
_trigger
Methods
_clear
_on
Timeout
Fired
_tick
clear
Interval
clear
Timeout
create
Timer
delete
Timer
destroy
destroyed
set
Interval
set
Timeout
Constructors
constructor
new
Timer
Manager
(
trigger
:
Trigger
<
void
>
, fps
:
number
)
:
TimerManager
Parameters
trigger:
Trigger
<
void
>
fps:
number
Returns
TimerManager
Properties
_fps
_fps
:
number
_identifiers
_identifiers
:
TimerIdentifier
[]
_registered
_registered
:
boolean
_timers
_timers
:
Timer
[]
_trigger
_trigger
:
Trigger
<
void
>
Methods
Private
_clear
_clear
(
identifier
:
TimerIdentifier
)
:
void
Parameters
identifier:
TimerIdentifier
Returns
void
Private
_on
Timeout
Fired
_on
Timeout
Fired
(
identifier
:
TimerIdentifier
)
:
void
Parameters
identifier:
TimerIdentifier
Returns
void
Private
_tick
_tick
(
)
:
void
Returns
void
clear
Interval
clear
Interval
(
identifier
:
TimerIdentifier
)
:
void
Parameters
identifier:
TimerIdentifier
Returns
void
clear
Timeout
clear
Timeout
(
identifier
:
TimerIdentifier
)
:
void
Parameters
identifier:
TimerIdentifier
Returns
void
create
Timer
create
Timer
(
interval
:
number
)
:
Timer
Parameters
interval:
number
Returns
Timer
作成したTimer
delete
Timer
delete
Timer
(
timer
:
Timer
)
:
void
Parameters
timer:
Timer
Returns
void
destroy
destroy
(
)
:
void
Returns
void
destroyed
destroyed
(
)
:
boolean
Returns
boolean
set
Interval
set
Interval
(
interval
:
number
, owner
:
any
, handler
?:
function
)
:
TimerIdentifier
Parameters
interval:
number
owner:
any
Optional
handler:
function
(
)
:
void
Returns
void
Returns
TimerIdentifier
set
Timeout
set
Timeout
(
milliseconds
:
number
, owner
:
any
, handler
?:
function
)
:
TimerIdentifier
Parameters
milliseconds:
number
owner:
any
Optional
handler:
function
(
)
:
void
Returns
void
Returns
TimerIdentifier
Globals
Timer
Manager
constructor
_fps
_identifiers
_registered
_timers
_trigger
_clear
_on
Timeout
Fired
_tick
clear
Interval
clear
Timeout
create
Timer
delete
Timer
destroy
destroyed
set
Interval
set
Timeout
Generated using
TypeDoc