phina.js.d.ts
Preparing search index...
phina
game
ManagerScene
Interface ManagerScene
interface
ManagerScene
{
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
;
getCurrentSceneIndex
()
:
number
;
getParent
()
:
void
|
phina
.
app
.
Element
;
getRoot
()
:
void
|
phina
.
app
.
Element
;
gotoNext
(
args
:
object
)
:
this
;
gotoScene
(
label
:
string
|
number
,
args
:
object
)
:
this
;
has
(
type
:
string
)
:
boolean
;
hasEventListener
(
type
:
string
)
:
boolean
;
indexToLabel
(
index
:
number
)
:
string
;
isAwake
()
:
boolean
;
labelToIndex
(
label
:
string
)
:
number
;
off
(
type
:
string
,
listener
:
Function
)
:
this
;
on
(
type
:
string
,
listener
:
Function
)
:
this
;
one
(
type
:
string
,
listener
:
Function
)
:
this
;
onnext
(
e
:
any
)
:
void
;
remove
()
:
void
|
phina
.
game
.
ManagerScene
;
removeChild
(
child
:
phina
.
app
.
Element
)
:
phina
.
app
.
Element
;
removeEventListener
(
type
:
string
,
listener
:
Function
)
:
this
;
replaceScene
(
label
:
string
|
number
,
args
:
object
)
:
this
;
setScene
(
scenes
:
ManagerSceneData
[]
)
:
this
;
sleep
()
:
this
;
toJson
()
:
object
;
update
?
(
app
:
phina
.
display
.
DomApp
)
:
void
;
wakeUp
()
:
this
;
}
Hierarchy (
View Summary
)
phina
.
app
.
Scene
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
Current
Scene
Index
get
Parent
get
Root
goto
Next
goto
Scene
has
has
Event
Listener
index
To
Label
is
Awake
label
To
Index
off
on
one
onnext
remove
remove
Child
remove
Event
Listener
replace
Scene
set
Scene
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
Current
Scene
Index
getCurrentSceneIndex
()
:
number
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
goto
Next
gotoNext
(
args
:
object
)
:
this
Parameters
args
:
object
Returns
this
goto
Scene
gotoScene
(
label
:
string
|
number
,
args
:
object
)
:
this
Parameters
label
:
string
|
number
args
:
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
index
To
Label
indexToLabel
(
index
:
number
)
:
string
Parameters
index
:
number
Returns
string
is
Awake
isAwake
()
:
boolean
Returns
boolean
label
To
Index
labelToIndex
(
label
:
string
)
:
number
Parameters
label
:
string
Returns
number
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
onnext
onnext
(
e
:
any
)
:
void
Parameters
e
:
any
Returns
void
remove
remove
()
:
void
|
phina
.
game
.
ManagerScene
Returns
void
|
phina
.
game
.
ManagerScene
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
replace
Scene
replaceScene
(
label
:
string
|
number
,
args
:
object
)
:
this
Parameters
label
:
string
|
number
args
:
object
Returns
this
set
Scene
setScene
(
scenes
:
ManagerSceneData
[]
)
:
this
Parameters
scenes
:
ManagerSceneData
[]
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
Current
Scene
Index
get
Parent
get
Root
goto
Next
goto
Scene
has
has
Event
Listener
index
To
Label
is
Awake
label
To
Index
off
on
one
onnext
remove
remove
Child
remove
Event
Listener
replace
Scene
set
Scene
sleep
to
Json
update
wake
Up
phina.js.d.ts
Loading...