InterfaceIEntityPrototypeRegistryBeta

interface IEntityPrototypeRegistry {
    createEntity(entityType: string, arg: Entity | Path, callback: ((arg1: Entity) => void)): void;
    getCaptionForType(type: string): string;
    getEntityTypes(baseType: string, filter: ((arg1: string) => any)): string[];
    getIconForType(type: string): Icon;
    getTypeName(): string;
    isOfType(type: string): boolean;
    isSame(other: ScriptObject): boolean;
    registerEntityPrototype(prototypeData: EntityPrototypeData): IGuard;
}

Hierarchy (view full)

Methods

  • Beta

    Parameters

    • entityType: string
    • arg: Entity | Path
    • callback: ((arg1: Entity) => void)
        • (arg1): void
        • Parameters

          Returns void

    Returns void

  • Beta

    Parameters

    • type: string

    Returns string

  • Beta

    Parameters

    • baseType: string
    • filter: ((arg1: string) => any)
        • (arg1): any
        • Parameters

          • arg1: string

          Returns any

    Returns string[]

  • Beta

    Parameters

    • type: string

    Returns Icon