Search
Preparing search index...
The search index is not available
jga-data-queue - v0.1.0
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"games-roguelike/src/game/engine/entity"
Entity
Class Entity
Hierarchy
Entity
Entity
Implements
EntityInterface
Index
Constructors
constructor
Properties
components
id
Methods
add
Component
get
Component
get
Components
get
Id
has
Component
remove
Component
Constructors
constructor
new
Entity
(
id
:
string
)
:
Entity
Parameters
id:
string
Returns
Entity
Properties
Protected
components
components
:
Map
<
string
,
ComponentInterface
>
Protected
id
id
:
string
Methods
add
Component
add
Component
(
component
:
ComponentInterface
)
:
void
Parameters
component:
ComponentInterface
Returns
void
get
Component
get
Component
(
name
:
string
)
:
ComponentType
Parameters
name:
string
Returns
ComponentType
get
Components
get
Components
(
)
:
Map
<
string
,
ComponentInterface
>
Returns
Map
<
string
,
ComponentInterface
>
get
Id
get
Id
(
)
:
string
Returns
string
has
Component
has
Component
(
name
:
string
)
:
boolean
Parameters
name:
string
Returns
boolean
remove
Component
remove
Component
(
component
:
ComponentInterface
)
:
void
Parameters
component:
ComponentInterface
Returns
void
Globals
"games-
roguelike/src/game/engine/entity"
Entity
constructor
components
id
add
Component
get
Component
get
Components
get
Id
has
Component
remove
Component
Generated using
TypeDoc