Removes esbuild and Changes to TSC

This commit is contained in:
2025-07-05 18:32:51 -03:00
parent 0e90afedbf
commit d72f3ec851
5 changed files with 17 additions and 483 deletions

View File

@@ -1,3 +1,5 @@
import SpawnHandler from "spawnHandler";
declare global {
/*
Example types, expand on these or remove them and add your own.
@@ -41,6 +43,9 @@ declare global {
// });
export const loop = () => {
for (const spawn of Object.values(Game.spawns)) {
console.log(`Spawn ${spawn.name} in room ${spawn.room.name} is ready.`);
// Create a handler for each spawn
const spawnHandler = new SpawnHandler(spawn);
// Run the handler
spawnHandler.run();
}
};
};