jumpstorm/engine/systems/System.ts

13 lines
243 B
TypeScript
Raw Normal View History

2023-07-19 23:38:24 -04:00
import { Entity } from "../entities";
import { Game } from "../Game";
2023-07-19 23:38:24 -04:00
export abstract class System {
public readonly name: string;
constructor(name: string) {
this.name = name;
}
abstract update(dt: number, game: Game): void;
2023-07-19 23:38:24 -04:00
}