star-entity ~master (2022-04-07T07:09:29.2539319)
Dub
Repo
EntityManager.removeComponent
star
entity
entity
EntityManager
Remove a component from the entity (no effects if it is not present).
class
EntityManager
pure nothrow @
safe
void
removeComponent
(
C
)
(
ID
id
)
out { assert (!hasComponent!C(id)); }
Meta
Source
See Implementation
star
entity
entity
EntityManager
constructors
this
functions
addComponent
capacity
clear
component
count
create
destroy
empty
entities
entity
free
hasComponent
id
opSlice
removeComponent
valid
structs
Range
Remove a component from the entity (no effects if it is not present).