[][src]Trait naia_shared::EntityBuilder

pub trait EntityBuilder<T: EntityType> {
    fn build(&self, in_bytes: &[u8]) -> T;
fn get_type_id(&self) -> TypeId; }

Handles the creation of new Entity instances

Required methods

fn build(&self, in_bytes: &[u8]) -> T

Create a new Entity instance

fn get_type_id(&self) -> TypeId

Gets the TypeId of the Entity the builder is able to build

Loading content...

Implementors

Loading content...