summaryrefslogtreecommitdiff
path: root/engine/systems/System.ts
blob: de419885a050c73f3305e9b4af53941856750cd4 (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;
}