geary
0.22.8
common
geary-core
/
com.mineinabyss.geary.datatypes
/
Entity
/
set
set
inline
fun
<
T
:
Component
>
set
(
component
:
T
,
kClass
:
KClass
<
out
T
>
=
T::class
,
noEvent
:
Boolean
=
false
)
Sets a component that holds data for this entity
Parameters
no
Event
If true, will not fire a
AddedComponent
.
fun
set
(
component
:
Component
,
componentId
:
ComponentId
,
noEvent
:
Boolean
=
false
)
fun
set
(
components
:
Collection
<
Component
>
)