2023-07-19 23:38:24 -04:00
|
|
|
import { Entity } from "../entities";
|
2023-07-20 23:47:32 -04:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2023-07-20 23:47:32 -04:00
|
|
|
abstract update(dt: number, game: Game): void;
|
2023-07-19 23:38:24 -04:00
|
|
|
}
|