import { IModel, } from './IModel'; import { IModelConstructorArgs, } from './IModelConstructorArgs'; import { IOntology, } from '../ontology/IOntology'; import { IWorld, } from '../world/IWorld'; import { ModelBase, } from './ModelBase'; import { ModelType, } from './ModelType'; import { OnticTypes, } from '../ontology/OnticTypes'; import { Ontology, } from '../ontology/Ontology'; // @ts-ignore export class ObjectModel< Being extends OnticTypes, > extends ModelBase implements IModel { public readonly being: IOntology; public readonly knowledge: null = null; constructor( world: IWorld, args: IModelConstructorArgs, ) { super(world, args); this.being = new Ontology(world, { modelType: args.type }); } }