empty property

List<List<(GpsCoordinates, AutonomyCell)>> get empty

An empty grid of size gridSize.

Implementation

List<List<(GpsCoordinates, AutonomyCell)>> get empty => [
	for (int i = 0; i < gridSize; i++) [
		for (int j = 0; j < gridSize; j++)
			(GpsCoordinates(), AutonomyCell.empty),
	],
];