Preparing search index...
The search index is not available
TypeSpriteJS Game Engine - API
TypeSpriteJS Game Engine - API
WorldManagerBuilder
Class WorldManagerBuilder
Hierarchy
WorldManagerBuilder
Index
Constructors
constructor
Properties
built
globals
property
Parser
res
text
Loader
world
Descs
Methods
add
Global
Prop
add
Property
Parser
add
Resource
Loader
add
World
build
set
Text
Loader
Constructors
constructor
new
World
Manager
Builder
(
)
:
WorldManagerBuilder
Returns
WorldManagerBuilder
Properties
Private
built
built
:
boolean
= false
Private
globals
globals
:
Record
<
string
,
any
>
= {}
Private
property
Parser
property
Parser
:
PropertyParser
[]
= []
Private
res
res
:
ResourceManager
= ...
Private
text
Loader
text
Loader
:
TextFileProvider
Private
world
Descs
world
Descs
:
WorldDescription
[]
= []
Methods
add
Global
Prop
add
Global
Prop
(
name
:
string
, v
:
any
)
:
WorldManagerBuilder
Parameters
name:
string
v:
any
Returns
WorldManagerBuilder
add
Property
Parser
add
Property
Parser
(
parser
:
PropertyParser
)
:
WorldManagerBuilder
Parameters
parser:
PropertyParser
Returns
WorldManagerBuilder
add
Resource
Loader
add
Resource
Loader
(
loader
:
ResourceLoader
)
:
WorldManagerBuilder
Parameters
loader:
ResourceLoader
Returns
WorldManagerBuilder
add
World
add
World
(
w
:
WorldDescription
)
:
WorldManagerBuilder
Parameters
w:
WorldDescription
Returns
WorldManagerBuilder
build
build
(
)
:
WorldManager
Returns
WorldManager
set
Text
Loader
set
Text
Loader
(
t
:
TextFileProvider
)
:
WorldManagerBuilder
Parameters
t:
TextFileProvider
Returns
WorldManagerBuilder
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
Type
SpriteJS
Game
Engine -
API
World
Manager
Builder
constructor
built
globals
property
Parser
res
text
Loader
world
Descs
add
Global
Prop
add
Property
Parser
add
Resource
Loader
add
World
build
set
Text
Loader
Generated using
TypeDoc