Skip to main content

HashGridCell <TObject, TProxy>

Index

Constructors

constructor

  • HashGridCell<TObject, TProxy>(): HashGridCell<TObject, TProxy>

Properties

key

key: number | bigint

proxies

proxies: TProxy[] = []

x

x: number

y

y: number

Methods

configure

  • configure(x: number, y: number): void
  • Parameters

    • x: number
    • y: number

    Returns void

staticcalculateHashKey

  • calculateHashKey(x: number, y: number): number | bigint
  • Parameters

    • x: number
    • y: number

    Returns number | bigint