retrograde ~master (2021-12-10T22:01:18.9456294)
Dub
Repo
Entity.getFromComponent
retrograde
entity
Entity
Undocumented in source. Be warned that the author may not have intended to support it.
ReturnType
getFromComponent
(ReturnType delegate(EntityComponentType) fn)
class
Entity
ReturnType
getFromComponent
(
EntityComponentType
:
EntityComponent
ReturnType
)
(
ReturnType
delegate
(
EntityComponentType
)
fn
)
ReturnType
getFromComponent
(ReturnType delegate(EntityComponentType) fn, ReturnType defaultValue)
Meta
Source
See Implementation
retrograde
entity
Entity
constructors
this
functions
addComponent
clearComponents
finalize
getComponent
getFromComponent
hasComponent
maybeWithComponent
removeComponent
withComponent
properties
components
isFinalized
name
variables
id
parent