@screeps/engine
Version:
This is a module for Screeps standalone server. See [main repository](https://github.com/screeps/screeps) for more info.
18 lines (12 loc) • 652 B
JavaScript
module.exports = function(object, objectIntents, scope) {
if(objectIntents.createCreep)
require('./create-creep')(object, objectIntents.createCreep, scope);
if(objectIntents.renewCreep)
require('./renew-creep')(object, objectIntents.renewCreep, scope);
if(objectIntents.recycleCreep)
require('./recycle-creep')(object, objectIntents.recycleCreep, scope);
if(objectIntents.setSpawnDirections)
require('./set-spawn-directions')(object, objectIntents.setSpawnDirections, scope);
if(objectIntents.cancelSpawning)
require('./cancel-spawning')(object, objectIntents.cancelSpawning, scope);
};