reverse previous commit

This commit is contained in:
Gebruiker
2022-10-23 01:26:06 +02:00
parent 90448c79e4
commit 15c86d3c14
12 changed files with 0 additions and 5 deletions

24
system.js Normal file
View File

@@ -0,0 +1,24 @@
/**
* Basis of the entire system. Everything will be managed from here on out.
*/
const rooms = require("_roomsHandler")
const spawns = require("_spawnsHandler")
const creeps = require("_creepsHandler")
const commands = require("_commandHandler")
module.exports = {
// Gets called when recompiling and when Restart command is called.
start: function () {
rooms.start();
spawns.start();
creeps.start();
commands.start();
},
// Gets called every tick.
update: function () {
rooms.update();
spawns.update();
creeps.update();
}
}