phina.js.d.ts
Preparing search index...
phina
app
Scene
Interface Scene
interface
Scene
{
awake
:
boolean
;
children
:
phina
.
app
.
Element
[]
;
draggable
:
phina
.
accessory
.
Draggable
;
flickable
:
phina
.
accessory
.
Flickable
;
parent
:
phina
.
app
.
Element
|
null
;
physical
:
phina
.
accessory
.
Physical
;
tweener
:
phina
.
accessory
.
Tweener
;
addChild
(
child
:
phina
.
app
.
Element
)
:
phina
.
app
.
Element
;
addChildAt
(
child
:
phina
.
app
.
Element
,
index
:
number
)
:
phina
.
app
.
Element
;
addChildTo
(
parent
:
phina
.
app
.
Element
)
:
this
;
addEventListener
(
type
:
string
,
listener
:
Function
)
:
this
;
attach
(
accessory
:
phina
.
accessory
.
Accessory
)
:
this
;
clear
(
type
:
string
)
:
this
;
clearEventListener
(
type
:
string
)
:
this
;
detach
(
accessory
:
phina
.
accessory
.
Accessory
)
:
this
;
dispatchEvent
(
e
:
{
type
:
string
}
)
:
this
;
dispatchEventByType
(
type
:
string
,
param
:
object
)
:
this
;
exit
(
naxtLabel
?:
string
,
nextArguments
?:
object
)
:
this
;
fire
(
e
:
{
type
:
string
}
)
:
this
;
flare
(
type
:
string
,
param
?:
object
)
:
this
;
fromJson
(
json
:
object
)
:
this
;
getChildAt
(
index
:
number
)
:
phina
.
app
.
Element
;
getChildByName
(
name
:
string
)
:
phina
.
app
.
Element
;
getChildIndex
(
child
:
phina
.
app
.
Element
)
:
number
;
getParent
()
:
void
|
phina
.
app
.
Element
;
getRoot
()
:
void
|
phina
.
app
.
Element
;
has
(
type
:
string
)
:
boolean
;
hasEventListener
(
type
:
string
)
:
boolean
;
isAwake
()
:
boolean
;
off
(
type
:
string
,
listener
:
Function
)
:
this
;
on
(
type
:
string
,
listener
:
Function
)
:
this
;
one
(
type
:
string
,
listener
:
Function
)
:
this
;
remove
()
:
void
|
phina
.
app
.
Scene
;
removeChild
(
child
:
phina
.
app
.
Element
)
:
phina
.
app
.
Element
;
removeEventListener
(
type
:
string
,
listener
:
Function
)
:
this
;
sleep
()
:
this
;
toJson
()
:
object
;
update
?
(
app
:
phina
.
display
.
DomApp
)
:
void
;
wakeUp
()
:
this
;
}
Hierarchy (
View Summary
)
phina
.
app
.
Element
Scene
phina
.
display
.
DisplayScene
phina
.
game
.
ManagerScene
Index
Properties
awake
children
draggable
flickable
parent
physical
tweener
Methods
add
Child
add
Child
At
add
Child
To
add
Event
Listener
attach
clear
clear
Event
Listener
detach
dispatch
Event
dispatch
Event
By
Type
exit
fire
flare
from
Json
get
Child
At
get
Child
By
Name
get
Child
Index
get
Parent
get
Root
has
has
Event
Listener
is
Awake
off
on
one
remove
remove
Child
remove
Event
Listener
sleep
to
Json
update?
wake
Up
Properties
awake
awake
:
boolean
children
children
:
phina
.
app
.
Element
[]
Readonly
draggable
draggable
:
phina
.
accessory
.
Draggable
Readonly
flickable
flickable
:
phina
.
accessory
.
Flickable
parent
parent
:
phina
.
app
.
Element
|
null
Readonly
physical
physical
:
phina
.
accessory
.
Physical
Readonly
tweener
tweener
:
phina
.
accessory
.
Tweener
Methods
add
Child
addChild
(
child
:
phina
.
app
.
Element
)
:
phina
.
app
.
Element
Parameters
child
:
phina
.
app
.
Element
Returns
phina
.
app
.
Element
add
Child
At
addChildAt
(
child
:
phina
.
app
.
Element
,
index
:
number
)
:
phina
.
app
.
Element
Parameters
child
:
phina
.
app
.
Element
index
:
number
Returns
phina
.
app
.
Element
add
Child
To
addChildTo
(
parent
:
phina
.
app
.
Element
)
:
this
Parameters
parent
:
phina
.
app
.
Element
Returns
this
add
Event
Listener
addEventListener
(
type
:
string
,
listener
:
Function
)
:
this
Parameters
type
:
string
listener
:
Function
Returns
this
attach
attach
(
accessory
:
phina
.
accessory
.
Accessory
)
:
this
Parameters
accessory
:
phina
.
accessory
.
Accessory
Returns
this
clear
clear
(
type
:
string
)
:
this
Parameters
type
:
string
Returns
this
clear
Event
Listener
clearEventListener
(
type
:
string
)
:
this
Parameters
type
:
string
Returns
this
detach
detach
(
accessory
:
phina
.
accessory
.
Accessory
)
:
this
Parameters
accessory
:
phina
.
accessory
.
Accessory
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
exit
exit
(
naxtLabel
?:
string
,
nextArguments
?:
object
)
:
this
Parameters
Optional
naxtLabel
:
string
Optional
nextArguments
:
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
from
Json
fromJson
(
json
:
object
)
:
this
Parameters
json
:
object
Returns
this
get
Child
At
getChildAt
(
index
:
number
)
:
phina
.
app
.
Element
Parameters
index
:
number
Returns
phina
.
app
.
Element
get
Child
By
Name
getChildByName
(
name
:
string
)
:
phina
.
app
.
Element
Parameters
name
:
string
Returns
phina
.
app
.
Element
get
Child
Index
getChildIndex
(
child
:
phina
.
app
.
Element
)
:
number
Parameters
child
:
phina
.
app
.
Element
Returns
number
get
Parent
getParent
()
:
void
|
phina
.
app
.
Element
Returns
void
|
phina
.
app
.
Element
get
Root
getRoot
()
:
void
|
phina
.
app
.
Element
Returns
void
|
phina
.
app
.
Element
has
has
(
type
:
string
)
:
boolean
Parameters
type
:
string
Returns
boolean
has
Event
Listener
hasEventListener
(
type
:
string
)
:
boolean
Parameters
type
:
string
Returns
boolean
is
Awake
isAwake
()
:
boolean
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
remove
()
:
void
|
phina
.
app
.
Scene
Returns
void
|
phina
.
app
.
Scene
remove
Child
removeChild
(
child
:
phina
.
app
.
Element
)
:
phina
.
app
.
Element
Parameters
child
:
phina
.
app
.
Element
Returns
phina
.
app
.
Element
remove
Event
Listener
removeEventListener
(
type
:
string
,
listener
:
Function
)
:
this
Parameters
type
:
string
listener
:
Function
Returns
this
sleep
sleep
()
:
this
Returns
this
to
Json
toJson
()
:
object
Returns
object
Optional
update
update
?
(
app
:
phina
.
display
.
DomApp
)
:
void
Parameters
app
:
phina
.
display
.
DomApp
Returns
void
wake
Up
wakeUp
()
:
this
Returns
this
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
awake
children
draggable
flickable
parent
physical
tweener
Methods
add
Child
add
Child
At
add
Child
To
add
Event
Listener
attach
clear
clear
Event
Listener
detach
dispatch
Event
dispatch
Event
By
Type
exit
fire
flare
from
Json
get
Child
At
get
Child
By
Name
get
Child
Index
get
Parent
get
Root
has
has
Event
Listener
is
Awake
off
on
one
remove
remove
Child
remove
Event
Listener
sleep
to
Json
update
wake
Up
phina.js.d.ts
Loading...