You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now the method of creating a new create*() and *GoToWork() method every time we add a new role is not even DRY at all. We should create a single createNewCreep() and creepsGoToWork() that takes a role: string parameter we we can work from there.
This new creep creator will also need to support multiple possible body parts. e.g. [WORK, CARRY, MOVE] for "emergency mode", [WORK, WORK, CARRY, CARRY, MOVE], if we could create a stronger creep & a certain number of creeps already exists. Or even add another, much stronger one, later on.
The output of creeps would need to be balanced so that we don't end up with a lot of "emergency" creeps after RCL 2.
The text was updated successfully, but these errors were encountered:
Right now the method of creating a new
create*()
and*GoToWork()
method every time we add a new role is not even DRY at all. We should create a singlecreateNewCreep()
andcreepsGoToWork()
that takes arole: string
parameter we we can work from there.This new creep creator will also need to support multiple possible body parts. e.g.
[WORK, CARRY, MOVE]
for "emergency mode",[WORK, WORK, CARRY, CARRY, MOVE]
, if we could create a stronger creep & a certain number of creeps already exists. Or even add another, much stronger one, later on.The output of creeps would need to be balanced so that we don't end up with a lot of "emergency" creeps after RCL 2.
The text was updated successfully, but these errors were encountered: