screeps-clockwork
    Preparing search index...

    Class ClockworkMonoFlowField

    A flow field for a single room that stores one direction per tile.

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Get the direction for a given coordinate.

      Parameters

      • x: number
      • y: number

      Returns undefined | DirectionConstant

    • Set the direction for a given coordinate.

      Parameters

      • x: number
      • y: number
      • Optionalvalue: DirectionConstant

      Returns void