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
Scene
Class Scene
Hierarchy
Scene
LoadingScene
Implements
Destroyable
Registrable
<
E
>
StorageLoaderHandler
Index
Constructors
constructor
Properties
_asset
Holders
_loaded
_loading
State
_prefetch
Requested
_ready
_scene
Asset
Holder
_storage
Loader
_timer
asset
Load
Completed
asset
Load
Failed
asset
Loaded
assets
children
game
loaded
local
message
name
operation
point
Down
Capture
point
Move
Capture
point
UpCapture
state
state
Changed
storage
Values
tick
Generation
Mode
update
Methods
_activate
_deactivate
_fire
Loaded
_fire
Ready
_load
_needs
Loading
_notify
Scene
Ready
_on
Scene
Assets
Load
_on
Storage
Load
Error
_on
Storage
Loaded
append
clear
Interval
clear
Timeout
create
Timer
delete
Timer
destroy
destroyed
end
find
Point
Source
ByPoint
goto
Scene
insert
Before
is
Current
Scene
modified
prefetch
register
remove
request
Assets
serialize
Storage
Values
set
Interval
set
Timeout
unregister
Constructors
constructor
new
Scene
(
game
:
Game
, assetIds
?:
(
string
|
DynamicAssetConfiguration
)
[]
)
:
Scene
new
Scene
(
param
:
SceneParameterObject
)
:
Scene
Parameters
game:
Game
Optional
assetIds:
(
string
|
DynamicAssetConfiguration
)
[]
Returns
Scene
Parameters
param:
SceneParameterObject
Returns
Scene
Properties
Private
_asset
Holders
_asset
Holders
:
SceneAssetHolder
[]
Private
_loaded
_loaded
:
boolean
Private
_loading
State
_loading
State
:
SceneLoadState
Private
_prefetch
Requested
_prefetch
Requested
:
boolean
Private
_ready
_ready
:
Trigger
<
Scene
>
Private
_scene
Asset
Holder
_scene
Asset
Holder
:
SceneAssetHolder
Private
_storage
Loader
_storage
Loader
:
StorageLoader
Private
_timer
_timer
:
TimerManager
asset
Load
Completed
asset
Load
Completed
:
Trigger
<
Asset
>
asset
Load
Failed
asset
Load
Failed
:
Trigger
<
AssetLoadFailureInfo
>
asset
Loaded
asset
Loaded
:
Trigger
<
Asset
>
assets
assets
:
object
Type declaration
[
key:
string
]:
Asset
children
children
:
E
[]
game
game
:
Game
loaded
loaded
:
Trigger
<
Scene
>
local
local
:
LocalTickMode
message
message
:
Trigger
<
MessageEvent
>
name
name
:
string
operation
operation
:
Trigger
<
OperationEvent
>
point
Down
Capture
point
Down
Capture
:
Trigger
<
PointDownEvent
>
point
Move
Capture
point
Move
Capture
:
Trigger
<
PointMoveEvent
>
point
UpCapture
point
UpCapture
:
Trigger
<
PointUpEvent
>
state
state
:
SceneState
state
Changed
state
Changed
:
Trigger
<
SceneState
>
storage
Values
storage
Values
:
StorageValueStore
tick
Generation
Mode
tick
Generation
Mode
:
TickGenerationMode
update
update
:
Trigger
<
void
>
Methods
Private
_activate
_activate
(
)
:
void
Returns
void
Private
_deactivate
_deactivate
(
)
:
void
Returns
void
Private
_fire
Loaded
_fire
Loaded
(
)
:
void
Returns
void
Private
_fire
Ready
_fire
Ready
(
)
:
void
Returns
void
Private
_load
_load
(
)
:
void
Returns
void
Private
_needs
Loading
_needs
Loading
(
)
:
boolean
Returns
boolean
Private
_notify
Scene
Ready
_notify
Scene
Ready
(
)
:
void
Returns
void
Private
_on
Scene
Assets
Load
_on
Scene
Assets
Load
(
)
:
void
Returns
void
Private
_on
Storage
Load
Error
_on
Storage
Load
Error
(
error
:
StorageLoadError
)
:
void
Parameters
error:
StorageLoadError
Returns
void
Private
_on
Storage
Loaded
_on
Storage
Loaded
(
)
:
void
Returns
void
append
append
(
e
:
E
)
:
void
Parameters
e:
E
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
delete
Timer
delete
Timer
(
timer
:
Timer
)
:
void
Parameters
timer:
Timer
Returns
void
destroy
destroy
(
)
:
void
Returns
void
destroyed
destroyed
(
)
:
boolean
Returns
boolean
end
end
(
)
:
void
Returns
void
find
Point
Source
ByPoint
find
Point
Source
ByPoint
(
point
:
CommonOffset
, force
?:
boolean
, camera
?:
Camera
)
:
PointSource
Parameters
point:
CommonOffset
Optional
force:
boolean
Optional
camera:
Camera
Returns
PointSource
goto
Scene
goto
Scene
(
next
:
Scene
, toPush
?:
boolean
)
:
void
Parameters
next:
Scene
Optional
toPush:
boolean
Returns
void
insert
Before
insert
Before
(
e
:
E
, target
:
E
)
:
void
Parameters
e:
E
target:
E
Returns
void
is
Current
Scene
is
Current
Scene
(
)
:
boolean
Returns
boolean
modified
modified
(
isBubbling
?:
boolean
)
:
void
Parameters
Optional
isBubbling:
boolean
Returns
void
prefetch
prefetch
(
)
:
void
Returns
void
register
register
(
e
:
E
)
:
void
Parameters
e:
E
Returns
void
remove
remove
(
e
:
E
)
:
void
Parameters
e:
E
Returns
void
request
Assets
request
Assets
(
assetIds
:
(
string
|
DynamicAssetConfiguration
)
[]
, handler
:
function
)
:
void
Parameters
assetIds:
(
string
|
DynamicAssetConfiguration
)
[]
handler:
function
(
)
:
void
Returns
void
Returns
void
serialize
Storage
Values
serialize
Storage
Values
(
)
:
StorageValueStoreSerialization
Returns
StorageValueStoreSerialization
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
unregister
unregister
(
e
:
E
)
:
void
Parameters
e:
E
Returns
void
Globals
Scene
constructor
_asset
Holders
_loaded
_loading
State
_prefetch
Requested
_ready
_scene
Asset
Holder
_storage
Loader
_timer
asset
Load
Completed
asset
Load
Failed
asset
Loaded
assets
children
game
loaded
local
message
name
operation
point
Down
Capture
point
Move
Capture
point
UpCapture
state
state
Changed
storage
Values
tick
Generation
Mode
update
_activate
_deactivate
_fire
Loaded
_fire
Ready
_load
_needs
Loading
_notify
Scene
Ready
_on
Scene
Assets
Load
_on
Storage
Load
Error
_on
Storage
Loaded
append
clear
Interval
clear
Timeout
create
Timer
delete
Timer
destroy
destroyed
end
find
Point
Source
ByPoint
goto
Scene
insert
Before
is
Current
Scene
modified
prefetch
register
remove
request
Assets
serialize
Storage
Values
set
Interval
set
Timeout
unregister
Generated using
TypeDoc