Right now temporary is created goodness class for targeting.
The problem is with all functions are temporary and also not reusable.
Targeting should be per action and should use target system as DTO where we put information about action type and gets only targets which are built in the same way:
- For target and rooms
- Counter global assignment
- Counter for creep which is requesting
but all filters should be done from action lvl, also sets information who should find target,
creep or room name
This should give us more universal way for targeting.
Also consider refactor how Creep AI is working.
Right now temporary is created goodness class for targeting.
The problem is with all functions are temporary and also not reusable.
Targeting should be per action and should use target system as DTO where we put information about action type and gets only targets which are built in the same way:
but all filters should be done from action lvl, also sets information who should find target,
creep or room name
This should give us more universal way for targeting.
Also consider refactor how Creep AI is working.