summaryrefslogtreecommitdiff
path: root/engine/systems/System.ts
blob: 8b00dc5660dbe1cdbd3f7cb0d04f8d3ae3b476e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
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;
}