summaryrefslogtreecommitdiff
path: root/src/engine/systems/System.ts
blob: 98522767f443cbe171215b98324d2ff8d5423e98 (plain)
1
2
3
4
5
6
7
8
9
10
11
import { Game } from "..";

export abstract class System {
  public readonly name: string;

  constructor(name: string) {
    this.name = name;
  }

  abstract update(dt: number, game: Game): void;
}