Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DirectiveTerminalRebuildState

Put the colony's terminal in a rebuild state, which pushes resources out of a room which is undergoing reconstruction

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

terminal

terminal: StructureTerminal | undefined

Static color

color: 8 = COLOR_BROWN

Static directiveName

directiveName: string = "rebuildState"

Static secondaryColor

secondaryColor: 6 = COLOR_YELLOW

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