assassin-bug/framework/ecs/component.d.ts

13 lines
258 B
TypeScript
Raw Permalink Normal View History

2022-11-26 01:22:02 +00:00
export declare class BaseComponent {
id: number;
properties: any;
constructor();
clone(): BaseComponent;
}
export interface Component {
id: number;
properties: any;
clone(): BaseComponent;
new (): BaseComponent;
}