jumpstorm/client/lib/systems/System.ts

16 lines
292 B
TypeScript
Raw Normal View History

2023-07-19 23:38:24 -04:00
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;
}