Skip to content

Commit 8a335c5

Browse files
committed
Make Graph.IsInBounds public
1 parent 5a6492a commit 8a335c5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

HexCore/HexCore.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<TargetFramework>netstandard2.0</TargetFramework>
55
<RootNamespace>HexCore</RootNamespace>
66
<PackageId>HexCore</PackageId>
7-
<Version>1.0.3</Version>
7+
<Version>1.0.4</Version>
88
<Authors>Anton Suprunchuk</Authors>
99
<Description>Yet another library to manage hexagonal grids</Description>
1010
<PackageProjectUrl>https://antouhou.com</PackageProjectUrl>

HexCore/HexGraph/Graph.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ private void UpdateCoordinatesList()
110110
_emptyCells = _cellStatesList.Where(cell => !cell.IsBlocked).Select(cell => cell.Coordinate3).ToList();
111111
}
112112

113-
private bool IsInBounds(Coordinate3D coordinate)
113+
public bool IsInBounds(Coordinate3D coordinate)
114114
{
115115
return _allCoordinates.Contains(coordinate);
116116
}

0 commit comments

Comments
 (0)