19 lines
394 B
JavaScript
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();
|
|
}
|
|
} |