Пример #1
0
 public CellState(bool isBlocked, Coordinate2D coordinate2, TerrainType terrainType)
 {
     IsBlocked   = isBlocked;
     Coordinate3 = coordinate2.To3D();
     TerrainType = terrainType;
 }
Пример #2
0
 public bool IsCellBlocked(Coordinate2D coordinate)
 {
     return(IsCellBlocked(coordinate.To3D()));
 }
Пример #3
0
 public CellState GetCellState(Coordinate2D coordinate)
 {
     return(GetCellState(coordinate.To3D()));
 }
Пример #4
0
 public void SetCellsTerrainType(Coordinate2D coordinate, TerrainType terrainType)
 {
     SetCellsTerrainType(coordinate.To3D(), terrainType);
 }
Пример #5
0
 public bool Contains(Coordinate2D coordinate)
 {
     return(Contains(coordinate.To3D()));
 }
Пример #6
0
 public void SetCellsTerrainType(List <Coordinate2D> coordinates, TerrainType terrainType)
 {
     SetCellsTerrainType(Coordinate2D.To3D(coordinates), terrainType);
 }
Пример #7
0
 public void UnblockCells(Coordinate2D coordinate)
 {
     UnblockCells(coordinate.To3D());
 }
Пример #8
0
 public void UnblockCells(List <Coordinate2D> coordinates)
 {
     UnblockCells(Coordinate2D.To3D(coordinates));
 }
Пример #9
0
 public void BlockCells(Coordinate2D coordinate)
 {
     BlockCells(coordinate.To3D());
 }
Пример #10
0
 public void RemoveCells(List <Coordinate2D> coordinatesToRemove2d)
 {
     RemoveCells(Coordinate2D.To3D(coordinatesToRemove2d));
 }