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
Game
Class Game
Hierarchy
Game
Implements
Registrable
<
E
>
Index
Constructors
constructor
Properties
_asset
Manager
_audio
System
Manager
_camera
Idx
_configuration
_default
Loading
Scene
_event
Trigger
Map
_focusing
Camera
_idx
_initial
Scene
_is
Terminated
_loaded
_local
Db
_local
Idx
_main
_main
Parameter
_operation
Plugin
Manager
_operation
Plugin
Operated
_scene
Changed
_script
Caches
_started
age
asset
Base
assets
audio
db
default
Audio
System
Id
events
external
focusing
Camera
fps
height
is
Loaded
join
leave
loading
Scene
logger
modified
operation
Plugins
play
Id
random
renderers
resized
resource
Factory
scenes
seed
self
Id
snapshot
Request
storage
vars
width
Methods
_abort
Game
_call
Scene
Asset
Holder
Handler
_decode
Operation
Plugin
Operation
_destroy
_fire
Scene
Loaded
_fire
Scene
Ready
_flush
Scene
Change
Requests
_leave
Game
_load
And
Start
_normalize
Configuration
_on
Initial
Scene
Loaded
_reset
_set
Audio
Playback
Rate
_set
Muted
_start
Loading
Global
Assets
_update
Event
Triggers
add
Event
Filter
find
Point
Source
leave
Game
pop
Scene
push
Scene
raise
Event
raise
Tick
register
remove
Event
Filter
render
replace
Scene
save
Snapshot
scene
should
Save
Snapshot
terminate
Game
tick
unregister
Constructors
constructor
new
Game
(
gameConfiguration
:
GameConfiguration
, resourceFactory
:
ResourceFactory
, assetBase
?:
string
, selfId
?:
string
, operationPluginViewInfo
?:
OperationPluginViewInfo
)
:
Game
Parameters
gameConfiguration:
GameConfiguration
resourceFactory:
ResourceFactory
Optional
assetBase:
string
Optional
selfId:
string
Optional
operationPluginViewInfo:
OperationPluginViewInfo
Returns
Game
Properties
Private
_asset
Manager
_asset
Manager
:
AssetManager
Private
_audio
System
Manager
_audio
System
Manager
:
AudioSystemManager
Private
_camera
Idx
_camera
Idx
:
number
Private
_configuration
_configuration
:
GameConfiguration
Private
_default
Loading
Scene
_default
Loading
Scene
:
LoadingScene
Private
_event
Trigger
Map
_event
Trigger
Map
:
object
Type declaration
[
key:
number
]:
Trigger
<
Event
>
Private
_focusing
Camera
_focusing
Camera
:
Camera
Private
_idx
_idx
:
number
Private
_initial
Scene
_initial
Scene
:
Scene
Private
_is
Terminated
_is
Terminated
:
boolean
Private
_loaded
_loaded
:
Trigger
<
Game
>
Private
_local
Db
_local
Db
:
object
Type declaration
[
id:
number
]:
E
Private
_local
Idx
_local
Idx
:
number
Private
_main
_main
:
string
Private
_main
Parameter
_main
Parameter
:
GameMainParameterObject
Private
_operation
Plugin
Manager
_operation
Plugin
Manager
:
OperationPluginManager
Private
_operation
Plugin
Operated
_operation
Plugin
Operated
:
Trigger
<
InternalOperationPluginOperation
>
Private
_scene
Changed
_scene
Changed
:
Trigger
<
Scene
>
Private
_script
Caches
_script
Caches
:
object
Type declaration
[
key:
string
]:
RequireCacheable
Private
_started
_started
:
Trigger
<
void
>
age
age
:
number
asset
Base
asset
Base
:
string
assets
assets
:
object
Type declaration
[
key:
string
]:
Asset
audio
audio
:
object
Type declaration
[
key:
string
]:
AudioSystem
db
db
:
object
Type declaration
[
idx:
number
]:
E
default
Audio
System
Id
default
Audio
System
Id
:
string
events
events
:
Event
[]
external
external
:
any
focusing
Camera
focusing
Camera
:
Camera
fps
fps
:
number
height
height
:
number
is
Loaded
is
Loaded
:
boolean
join
join
:
Trigger
<
JoinEvent
>
leave
leave
:
Trigger
<
LeaveEvent
>
loading
Scene
loading
Scene
:
LoadingScene
logger
logger
:
Logger
modified
modified
:
boolean
operation
Plugins
operation
Plugins
:
object
Type declaration
[
key:
number
]:
OperationPlugin
play
Id
play
Id
:
string
random
random
:
RandomGenerator
[]
renderers
renderers
:
Renderer
[]
resized
resized
:
Trigger
<
CommonSize
>
resource
Factory
resource
Factory
:
ResourceFactory
scenes
scenes
:
Scene
[]
seed
seed
:
Trigger
<
SeedEvent
>
self
Id
self
Id
:
string
snapshot
Request
snapshot
Request
:
Trigger
<
void
>
storage
storage
:
Storage
vars
vars
:
any
width
width
:
number
Methods
Private
_abort
Game
_abort
Game
(
)
:
void
Returns
void
Private
_call
Scene
Asset
Holder
Handler
_call
Scene
Asset
Holder
Handler
(
assetHolder
:
SceneAssetHolder
)
:
void
Parameters
assetHolder:
SceneAssetHolder
Returns
void
Private
_decode
Operation
Plugin
Operation
_decode
Operation
Plugin
Operation
(
code
:
number
, op
:
(
string
|
number
)
[]
)
:
any
Parameters
code:
number
op:
(
string
|
number
)
[]
Returns
any
Private
_destroy
_destroy
(
)
:
void
Returns
void
Private
_fire
Scene
Loaded
_fire
Scene
Loaded
(
scene
:
Scene
)
:
void
Parameters
scene:
Scene
Returns
void
Private
_fire
Scene
Ready
_fire
Scene
Ready
(
scene
:
Scene
)
:
void
Parameters
scene:
Scene
Returns
void
Private
_flush
Scene
Change
Requests
_flush
Scene
Change
Requests
(
)
:
void
Returns
void
Private
_leave
Game
_leave
Game
(
)
:
void
Returns
void
Private
_load
And
Start
_load
And
Start
(
param
?:
GameMainParameterObject
)
:
void
Parameters
Optional
param:
GameMainParameterObject
Returns
void
Private
_normalize
Configuration
_normalize
Configuration
(
gameConfiguration
:
GameConfiguration
)
:
GameConfiguration
Parameters
gameConfiguration:
GameConfiguration
Returns
GameConfiguration
Private
_on
Initial
Scene
Loaded
_on
Initial
Scene
Loaded
(
)
:
void
Returns
void
Private
_reset
_reset
(
param
?:
GameResetParameterObject
)
:
void
Parameters
Optional
param:
GameResetParameterObject
Returns
void
Private
_set
Audio
Playback
Rate
_set
Audio
Playback
Rate
(
playbackRate
:
number
)
:
void
Parameters
playbackRate:
number
Returns
void
Private
_set
Muted
_set
Muted
(
muted
:
boolean
)
:
void
Parameters
muted:
boolean
Returns
void
Private
_start
Loading
Global
Assets
_start
Loading
Global
Assets
(
)
:
void
Returns
void
Private
_update
Event
Triggers
_update
Event
Triggers
(
scene
:
Scene
)
:
void
Parameters
scene:
Scene
Returns
void
add
Event
Filter
add
Event
Filter
(
filter
:
EventFilter
, handleEmpty
?:
boolean
)
:
void
Parameters
filter:
EventFilter
Optional
handleEmpty:
boolean
Returns
void
find
Point
Source
find
Point
Source
(
point
:
CommonOffset
, camera
?:
Camera
)
:
PointSource
Parameters
point:
CommonOffset
Optional
camera:
Camera
Returns
PointSource
leave
Game
leave
Game
(
)
:
void
Returns
void
pop
Scene
pop
Scene
(
preserveCurrent
?:
boolean
)
:
void
Parameters
Optional
preserveCurrent:
boolean
Returns
void
push
Scene
push
Scene
(
scene
:
Scene
)
:
void
Parameters
scene:
Scene
Returns
void
raise
Event
raise
Event
(
e
:
Event
)
:
void
Parameters
e:
Event
Returns
void
raise
Tick
raise
Tick
(
events
?:
Event
[]
)
:
void
Parameters
Optional
events:
Event
[]
Returns
void
register
register
(
e
:
E
)
:
void
Parameters
e:
E
Returns
void
remove
Event
Filter
remove
Event
Filter
(
filter
:
EventFilter
)
:
void
Parameters
filter:
EventFilter
Returns
void
render
render
(
camera
?:
Camera
)
:
void
Parameters
Optional
camera:
Camera
Returns
void
replace
Scene
replace
Scene
(
scene
:
Scene
, preserveCurrent
?:
boolean
)
:
void
Parameters
scene:
Scene
Optional
preserveCurrent:
boolean
Returns
void
save
Snapshot
save
Snapshot
(
snapshot
:
any
, timestamp
?:
number
)
:
void
Parameters
snapshot:
any
Optional
timestamp:
number
Returns
void
scene
scene
(
)
:
Scene
Returns
Scene
should
Save
Snapshot
should
Save
Snapshot
(
)
:
boolean
Returns
boolean
terminate
Game
terminate
Game
(
)
:
void
Returns
void
tick
tick
(
advanceAge
?:
boolean
)
:
boolean
Parameters
Optional
advanceAge:
boolean
Returns
boolean
unregister
unregister
(
e
:
E
)
:
void
Parameters
e:
E
Returns
void
Globals
Game
constructor
_asset
Manager
_audio
System
Manager
_camera
Idx
_configuration
_default
Loading
Scene
_event
Trigger
Map
_focusing
Camera
_idx
_initial
Scene
_is
Terminated
_loaded
_local
Db
_local
Idx
_main
_main
Parameter
_operation
Plugin
Manager
_operation
Plugin
Operated
_scene
Changed
_script
Caches
_started
age
asset
Base
assets
audio
db
default
Audio
System
Id
events
external
focusing
Camera
fps
height
is
Loaded
join
leave
loading
Scene
logger
modified
operation
Plugins
play
Id
random
renderers
resized
resource
Factory
scenes
seed
self
Id
snapshot
Request
storage
vars
width
_abort
Game
_call
Scene
Asset
Holder
Handler
_decode
Operation
Plugin
Operation
_destroy
_fire
Scene
Loaded
_fire
Scene
Ready
_flush
Scene
Change
Requests
_leave
Game
_load
And
Start
_normalize
Configuration
_on
Initial
Scene
Loaded
_reset
_set
Audio
Playback
Rate
_set
Muted
_start
Loading
Global
Assets
_update
Event
Triggers
add
Event
Filter
find
Point
Source
leave
Game
pop
Scene
push
Scene
raise
Event
raise
Tick
register
remove
Event
Filter
render
replace
Scene
save
Snapshot
scene
should
Save
Snapshot
terminate
Game
tick
unregister
Generated using
TypeDoc