jumpstorm/client/lib/systems/System.ts
2023-07-19 20:38:24 -07:00

16 lines
292 B
TypeScript

import { Entity } from "../entities";
export abstract class System {
public readonly name: string;
constructor(name: string) {
this.name = name;
}
abstract update(
dt: number,
entityMap: Map<number, Entity>,
componentEntities: Map<string, Set<number>>
): void;
}