import * as THREE from 'three' /** * BaseEntity class * Provides a base for managing logistics unit entities. */ export default abstract class BaseEntity { protected itemJson!: ItemJson protected objects!: THREE.Object3D[] /** * Sets the `ItemJson` data for the entity. * @param itemJson - The `ItemJson` data to set. */ setItem(itemJson: ItemJson): void { this.itemJson = itemJson } /** * Sets the `THREE.Object3D` object for the entity. * @param object3D - The `THREE.Object3D` object to set. */ setObjects(objects: THREE.Object3D[]): void { this.objects = objects } }