Struct yaecs::EntityBuilder
[−]
[src]
pub struct EntityBuilder(_);
pub struct EntityBuilder(_);
impl EntityBuilder
[src]fn create(label: String) -> EntityBuilder
fn create_str(label: &str) -> EntityBuilder
fn add<T: Any>(self, component: T) -> EntityBuilder
fn tag(self, key: &'static str, value: String) -> EntityBuilder
fn build(self) -> Entity