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