import { AppObjectEntity } from "@vived/core";
export class XREntity extends AppObjectEntity {
}
XREntity.type = "XREntity";
export function makeXREntity(appObj) {
    return new XREntityImp(appObj);
}
class XREntityImp extends XREntity {
    get lastXRFrame() {
        return this._lastXRFrame;
    }
    constructor(appObj) {
        super(appObj, XREntity.type);
        this.submitXRFrame = (frame) => {
            this._lastXRFrame = frame;
            this.notifyOnChange();
        };
    }
}
//# sourceMappingURL=XREntity.js.map