Options
All
  • Public
  • Public/Protected
  • All
Menu

Class EvolutionChamber

The evolution chamber handles mineral production and boosting logic, handling resource supply for labs

Hierarchy

Index

Constructors

constructor

Properties

boostingLabs

boostingLabs: StructureLab[]

colony

colony: Colony

Private labReservations

labReservations: object

Type declaration

  • [labID: string]: object

labs

labs: StructureLab[]

memory

memory: EvolutionChamberMemory

Private neededBoosts

neededBoosts: object

Type declaration

  • [boostType: string]: number

overlord

overlord: Overlord | undefined

pos

pos: RoomPosition

productLabs

productLabs: StructureLab[]

reagentLabs

reagentLabs: StructureLab[]

ref

ref: string

room

room: Room

terminal

terminal: StructureTerminal

terminalNetwork

terminalNetwork: TerminalNetwork

transportRequests

transportRequests: TransportRequestGroup

Static settings

settings: object

Type declaration

Accessors

print

  • get print(): string

Methods

Private boosterLabRequests

  • boosterLabRequests(labs: StructureLab[]): void

canBoost

  • canBoost(body: BodyPartDefinition[], boostType: _ResourceConstantSansEnergy): boolean

Private drawLabReport

  • drawLabReport(coord: Coord): Coord

init

  • init(): void

Private initLabStatus

  • initLabStatus(): void

Private productLabRequests

  • productLabRequests(labs: StructureLab[]): void

Private reagentLabRequests

  • reagentLabRequests(reagentLabs: [StructureLab, StructureLab]): void

refresh

  • refresh(): void

Private registerRequests

  • registerRequests(): void

requestBoost

  • requestBoost(creep: Zerg, boostType: _ResourceConstantSansEnergy): void

Private reserveLab

  • reserveLab(mineralType: _ResourceConstantSansEnergy, amount: number, lab: StructureLab): void

run

  • run(): void

spawnMoarOverlords

  • spawnMoarOverlords(): void

Private stats

  • stats(): void

Private statusTimeoutCheck

  • statusTimeoutCheck(): void

visuals

  • visuals(coord: Coord): Coord

Static requiredBoostAmount

  • requiredBoostAmount(body: BodyPartDefinition[], boostType: _ResourceConstantSansEnergy): number

Generated using TypeDoc