star-entity v1.0.0 (2014-06-30T19:36:55Z)
Home
Dub
Repo
EntityManager.removeComponent
star
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
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).