Add launchable

This commit is contained in:
usernames122
2025-10-23 20:58:19 +02:00
parent 300bb16e5e
commit d9d5460856
27 changed files with 1743 additions and 85 deletions

View File

@@ -0,0 +1,13 @@
import { Instance } from "./Instance.js";
export class BaseService extends Instance {
constructor(name) {
super(name);
}
SetParent(parent) {
if (this.Parent === null) {
super.SetParent(parent);
return;
} // Only accept it once
throw new Error("Cannot reparent a service instance.");
}
}