Files
screeps/system.js
2022-04-15 14:27:00 +02:00

19 lines
394 B
JavaScript

/**
* Basis of the entire system. Everything will be managed from here on out.
*/
const commands = require("commands");
const creeps = require("creeps")
module.exports = {
// Gets called when recompiling and when Restart command is called.
start: function () {
commands.configure();
creeps.configure();
},
// Gets called every tick.
update: function () {
creeps.execute();
}
}