import I_Obstacles from '../Obstacles/I_Obstacles'; import I_NavigatorTile from '../NavigatorTile/I_NavigatorTile'; import { point, size } from '../../interfaces'; import I_Grid from './I_Grid'; export default class Grid implements I_Grid { readonly size: size; readonly obstacles: I_Obstacles; readonly tiles: I_NavigatorTile[]; readonly rows: I_NavigatorTile[][]; constructor(size?: size); /** Returns a tile at the specified coordinates. */ getTile({ x, y }: point): I_NavigatorTile | null; /** Returns a random tile, can be an obstacle or not. */ getRandomTile(): I_NavigatorTile; /** Returns a random non-obstacle tile, if it exists. */ getRandomFreeTile(): I_NavigatorTile | null; private checkMinimumGridSize; private makeGrid; } //# sourceMappingURL=Grid.d.ts.map