Hierarchy

  • default

Constructors

  • Parameters

    Returns default

Properties

flowFields: Map<"-1-0" | "-1-1" | "-1-2" | "-1-4" | "-1-8" | "-1-16" | "-1-32" | "-1-64" | "-1-128" | "-1-256" | "-1-512" | "-1-1024" | "-1-2048" | "-1-15" | "0-0" | "0-1" | "0-2" | "0-4" | "0-8" | "0-16" | "0-32" | "0-64" | "0-128" | "0-256" | "0-512" | "0-1024" | "0-2048" | "0-15" | "1-0" | "1-1" | "1-2" | "1-4" | "1-8" | "1-16" | "1-32" | "1-64" | "1-128" | "1-256" | "1-512" | "1-1024" | "1-2048" | "1-15", default> = ...
humans: IFlowFieldHuman[] = []

Methods

  • Clears/deletes Flow fields They'll be recreated when they are used next

    Returns void

  • Returns number

  • Parameters

    • x: number
    • y: number
    • z: number
    • moveType: MoveType

    Returns Direction

  • Parameters

    • x: number
    • y: number
    • z: number
    • moveType: MoveType

    Returns Direction

  • Returns number

  • Parameters

    Returns boolean

  • Parameters

    Returns boolean

  • Returns void

  • Parameters

    Returns void

  • Remove the player from the flow field when they leave the game Using preRemove because we are relying on the player id

    Parameters

    • player: default
    • currentId: number
    • newId: number
    • isAbsentPlayer: boolean

    Returns void

  • Parameters

    Returns void

  • Returns void

  • Returns void

  • Returns void

  • Parameters

    • tileX: number
    • tileY: number
    • tileZ: number

    Returns void

Generated using TypeDoc