public void ClearLogic()
{
foreach ( Point point in AllSquares() )
{
int x = point.x;
int y = point.y;
squares[ x, y ].DistanceSteps = 10000;
squares[ x, y ].IsPath = false;
squares[ x, y ].SetColor( (squares[ x, y ].ContentCode == TileContent.Wall ) ? Color.red : Color.white );
}
}