Interface IEntity

interface IEntity {
    name: string;
    uuid: string;
    addComponent(component: IComponent): void;
    getComponent<T>(type: string): undefined | T;
    toJson(): WithType<EntityProps>;
}

Implemented by

Properties

name: string
uuid: string

Methods