phina.js.d.ts
Preparing search index...
phina
util
Ticker
Interface Ticker
interface
Ticker
{
deltaTime
:
number
;
elapsedTime
:
number
;
fps
:
number
;
frame
:
number
;
addEventListener
(
type
:
string
,
listener
:
Function
)
:
this
;
clear
(
type
:
string
)
:
this
;
clearEventListener
(
type
:
string
)
:
this
;
dispatchEvent
(
e
:
{
type
:
string
}
)
:
this
;
dispatchEventByType
(
type
:
string
,
param
:
object
)
:
this
;
fire
(
e
:
{
type
:
string
}
)
:
this
;
flare
(
type
:
string
,
param
?:
object
)
:
this
;
has
(
type
:
string
)
:
boolean
;
hasEventListener
(
type
:
string
)
:
boolean
;
off
(
type
:
string
,
listener
:
Function
)
:
this
;
on
(
type
:
string
,
listener
:
Function
)
:
this
;
one
(
type
:
string
,
listener
:
Function
)
:
this
;
removeEventListener
(
type
:
string
,
listener
:
Function
)
:
this
;
resume
()
:
any
;
rewind
()
:
any
;
run
()
:
number
;
start
()
:
this
;
stop
()
:
this
;
tick
(
func
:
Function
)
:
void
;
untick
(
func
:
Function
)
:
void
;
}
Hierarchy (
View Summary
)
phina
.
util
.
EventDispatcher
Ticker
Index
Properties
delta
Time
elapsed
Time
fps
frame
Methods
add
Event
Listener
clear
clear
Event
Listener
dispatch
Event
dispatch
Event
By
Type
fire
flare
has
has
Event
Listener
off
on
one
remove
Event
Listener
resume
rewind
run
start
stop
tick
untick
Properties
delta
Time
deltaTime
:
number
elapsed
Time
elapsedTime
:
number
fps
fps
:
number
frame
frame
:
number
Methods
add
Event
Listener
addEventListener
(
type
:
string
,
listener
:
Function
)
:
this
Parameters
type
:
string
listener
:
Function
Returns
this
clear
clear
(
type
:
string
)
:
this
Parameters
type
:
string
Returns
this
clear
Event
Listener
clearEventListener
(
type
:
string
)
:
this
Parameters
type
:
string
Returns
this
dispatch
Event
dispatchEvent
(
e
:
{
type
:
string
}
)
:
this
Parameters
e
:
{
type
:
string
}
Returns
this
dispatch
Event
By
Type
dispatchEventByType
(
type
:
string
,
param
:
object
)
:
this
Parameters
type
:
string
param
:
object
Returns
this
fire
fire
(
e
:
{
type
:
string
}
)
:
this
Parameters
e
:
{
type
:
string
}
Returns
this
flare
flare
(
type
:
string
,
param
?:
object
)
:
this
Parameters
type
:
string
Optional
param
:
object
Returns
this
has
has
(
type
:
string
)
:
boolean
Parameters
type
:
string
Returns
boolean
has
Event
Listener
hasEventListener
(
type
:
string
)
:
boolean
Parameters
type
:
string
Returns
boolean
off
off
(
type
:
string
,
listener
:
Function
)
:
this
Parameters
type
:
string
listener
:
Function
Returns
this
on
on
(
type
:
string
,
listener
:
Function
)
:
this
Parameters
type
:
string
listener
:
Function
Returns
this
one
one
(
type
:
string
,
listener
:
Function
)
:
this
Parameters
type
:
string
listener
:
Function
Returns
this
remove
Event
Listener
removeEventListener
(
type
:
string
,
listener
:
Function
)
:
this
Parameters
type
:
string
listener
:
Function
Returns
this
resume
resume
()
:
any
Returns
any
rewind
rewind
()
:
any
Returns
any
run
run
()
:
number
Returns
number
start
start
()
:
this
Returns
this
stop
stop
()
:
this
Returns
this
tick
tick
(
func
:
Function
)
:
void
Parameters
func
:
Function
Returns
void
untick
untick
(
func
:
Function
)
:
void
Parameters
func
:
Function
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
delta
Time
elapsed
Time
fps
frame
Methods
add
Event
Listener
clear
clear
Event
Listener
dispatch
Event
dispatch
Event
By
Type
fire
flare
has
has
Event
Listener
off
on
one
remove
Event
Listener
resume
rewind
run
start
stop
tick
untick
phina.js.d.ts
Loading...