Adding source code to respository.

This commit is contained in:
Douwe Ravers
2022-04-15 14:27:00 +02:00
parent ffc5d3df13
commit 0985358150
11 changed files with 876 additions and 0 deletions

19
system.js Normal file
View File

@@ -0,0 +1,19 @@
/**
* 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();
}
}