changed git root
This commit is contained in:
24
default/system.js
Normal file
24
default/system.js
Normal 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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user