@2d-game-grid/square
Version:
A simple square grid made for games
12 lines (11 loc) • 518 B
TypeScript
import type { InitializeGridOptions } from '@2d-game-grid/core';
import { Grid } from '@2d-game-grid/core';
import { SquareCell } from './SquareCell.js';
import type { SquareDirections } from './SquareDirections.js';
/**
* The grid contains all information about cells
*/
export declare class SquareGrid<Value> extends Grid<Value, SquareDirections, SquareCell<Value>> {
constructor(options: InitializeGridOptions<Value>);
protected initializeGrid(options: InitializeGridOptions<Value>): SquareGrid<Value>;
}