Opened 3 years ago

Closed 3 years ago

#6185 closed enhancement (fixed)

[PetraAI] - Split bases from HQ.

Reported by: Freagarach Owned by: Freagarach
Priority: Nice to Have Milestone: Alpha 26
Component: AI Keywords:
Cc: Patch: Phab:D4192

Description

Currently, HQ also does the process of updating individual bases. There should be a separate module, baseManager (current baseManager could be renamed to base, similar to worker) that is updated by the HQ. (Naming could be argued.)

Rationale: The HQ should only care about high-level stuff, the rest should be delegated to managers.

Change History (3)

comment:1 by Stan, 3 years ago

ColonyManager.js could work, maybe.

Last edited 3 years ago by Stan (previous) (diff)

comment:2 by Freagarach, 3 years ago

Owner: set to Freagarach
Patch: Phab:D4192

comment:3 by Freagarach, 3 years ago

Resolution: fixed
Status: newclosed

In 25876:

[PetraAI] - Manage bases in a separate BasesManager.

The HQ should only care about high-level stuff, hence something like managing/looping individual bases is now done in a BasesManager, similar to the AttackManager.

Differential revision: https://code.wildfiregames.com/D4192
Comments by: @Angen
Fixes: #6185

Note: See TracTickets for help on using tickets.