import {System} from "../System";
import {EntityComponentDataset} from "../EntityComponentDataset";
import {ParentEntity} from "./ParentEntity";

export class ParentEntitySystem extends System<ParentEntity> {
    static findRoot(ecd: EntityComponentDataset, entity: number): number

    static isAncestorOf(ecd: EntityComponentDataset, child_entity: number, ancestor_entity: number): boolean

    static findParentEntity(ecd: EntityComponentDataset, entity: number): number
}
