Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DirectiveRPBunker

Manually place a bunker anchored at the target location for the RoomPlanner to use in semiautomatic or manual mode

Hierarchy

Index

Constructors

constructor

Properties

colony

colony: Colony

memory

memory: FlagMemory

name

name: string

overlords

overlords: object

Type declaration

pos

pos: RoomPosition

ref

ref: string

requiredRCL

requiredRCL: number

room

room: Room | undefined

Static color

color: 10 = COLOR_WHITE

Static directiveName

directiveName: string = "roomPlanner:CommandCenter"

Static secondaryColor

secondaryColor: 1 = COLOR_RED

Accessors

flag

  • get flag(): Flag

print

  • get print(): string

Methods

alert

init

  • init(): void

refresh

  • refresh(): void

remove

  • remove(force?: boolean): number | undefined

run

  • run(): void

setColor

  • setColor(color: ColorConstant, secondaryColor?: ColorConstant): number

setPosition

  • setPosition(pos: RoomPosition): number

spawnMoarOverlords

  • spawnMoarOverlords(): void

visuals

  • visuals(): void

Static create

  • create(pos: RoomPosition, opts?: DirectiveCreationOptions): number | string

Static createIfNotPresent

  • createIfNotPresent(pos: RoomPosition, scope: "room" | "pos", opts?: DirectiveCreationOptions): number | string | undefined

Static filter

  • filter(flag: Flag): boolean

Static find

Static isPresent

  • isPresent(pos: RoomPosition, scope: "room" | "pos"): boolean

Generated using TypeDoc