summaryrefslogtreecommitdiff
path: root/src/engine/systems/System.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/systems/System.ts')
-rw-r--r--src/engine/systems/System.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/engine/systems/System.ts b/src/engine/systems/System.ts
new file mode 100644
index 0000000..9852276
--- /dev/null
+++ b/src/engine/systems/System.ts
@@ -0,0 +1,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;
+}