import { Component, ComponentConstructor } from "./Component"; /** * Components that extend the SystemStateComponent are not removed when an entity is deleted. */ export class SystemStateComponent extends Component { static isSystemStateComponent: true; } export interface SystemStateComponentConstructor> extends ComponentConstructor { isSystemStateComponent: true; new (): C; }