Rewriting from scratch. Fixing old code is just less fun.
This commit is contained in:
19
system.js
19
system.js
@@ -1,19 +0,0 @@
|
||||
/**
|
||||
* 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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user