Class GridCell<PropertiesType>

Represents a grid cell with coordinates and properties.

Type Parameters

  • PropertiesType extends object = UnknownObject

    The type of the properties of the grid cell.

Constructors

Properties

getValue: ((name: keyof PropertiesType) => PropertiesType[keyof PropertiesType]) = ...

Type declaration

Use get instead.

properties: PropertiesType

The properties of the cell.

setValue: ((name: keyof PropertiesType, value: PropertiesType[keyof PropertiesType]) => PropertiesType[keyof PropertiesType]) = ...

Type declaration

Use set instead.

x: number

The x-coordinate of the cell.

y: number

The y-coordinate of the cell.

Accessors

Methods