1 2 3 4 5 6 7 8 9 10 11 12
import { Entity } from "../entities"; import { Game } from "../Game"; export abstract class System { public readonly name: string; constructor(name: string) { this.name = name; } abstract update(dt: number, game: Game): void; }