Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Tasks

Hierarchy

  • Tasks

Index

Methods

Static attack

Static build

Static chain

  • chain(tasks: Task[], setNextPos?: boolean): Task | null

Static claim

Static dismantle

Static drop

  • drop(target: dropTargetType, resourceType?: ResourceConstant, amount?: number | undefined, options?: TaskOptions): TaskDrop
  • Parameters

    • target: dropTargetType
    • Default value resourceType: ResourceConstant = RESOURCE_ENERGY
    • Default value amount: number | undefined = undefined
    • Default value options: TaskOptions = {} as TaskOptions

    Returns TaskDrop

Static fortify

Static getBoosted

Static getRenewed

Static goToRoom

Static harvest

Static heal

Static meleeAttack

Static pickup

Static rangedAttack

Static recharge

  • recharge(minEnergy?: number, options?: TaskOptions): TaskRecharge
  • Parameters

    • Default value minEnergy: number = 0
    • Default value options: TaskOptions = {} as TaskOptions

    Returns TaskRecharge

Static repair

Static reserve

Static signController

Static transfer

  • Parameters

    • target: transferTargetType
    • Default value resourceType: ResourceConstant = RESOURCE_ENERGY
    • Default value amount: number | undefined = undefined
    • Default value options: TaskOptions = {} as TaskOptions

    Returns TaskTransfer

Static transferAll

Static upgrade

Static withdraw

  • Parameters

    • target: withdrawTargetType
    • Default value resourceType: ResourceConstant = RESOURCE_ENERGY
    • Default value amount: number | undefined = undefined
    • Default value options: TaskOptions = {} as TaskOptions

    Returns TaskWithdraw

Static withdrawAll

Generated using TypeDoc