Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FlowField

Hierarchy

  • FlowField

Index

Constructors

constructor

  • Parameters

    • size: number
    • z: number
    • moveType: MoveType

    Returns FlowField

Methods

delete

  • delete(): void
  • Returns void

getFieldValue

  • getFieldValue(x: number, y: number): number
  • Parameters

    • x: number
    • y: number

    Returns number

getHashCodes

  • getHashCodes(): string[]
  • Returns string[]

getZ

  • getZ(): number
  • Returns number

reset

  • reset(): void
  • Returns void

resetPenalty

  • resetPenalty(gridIndex: number): void
  • Parameters

    • gridIndex: number

    Returns void

updateField

  • updateField(flowFieldPlayers: Player[]): void
  • Parameters

    Returns void

Generated using TypeDoc