Remove unused function
This commit is contained in:
parent
727a2c5e76
commit
7faadda5c0
2 changed files with 0 additions and 5 deletions
|
@ -47,10 +47,6 @@ bool Board::isWalkableForPacMan(Position point, double d, Direction direction) {
|
||||||
return isWalkable(point, d, direction, true);
|
return isWalkable(point, d, direction, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Board::isWalkableForGhost(Position point, double d, Direction direction) {
|
|
||||||
return isWalkable(point, d, direction, false);
|
|
||||||
}
|
|
||||||
|
|
||||||
bool Board::isWalkable(Position point) {
|
bool Board::isWalkable(Position point) {
|
||||||
return board[int(point.y)][int(point.x)] != int(Cell::wall);
|
return board[int(point.y)][int(point.x)] != int(Cell::wall);
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,7 +23,6 @@ public:
|
||||||
};
|
};
|
||||||
|
|
||||||
[[nodiscard]] static bool isWalkableForPacMan(Position point, double d, Direction direction) ;
|
[[nodiscard]] static bool isWalkableForPacMan(Position point, double d, Direction direction) ;
|
||||||
[[nodiscard]] static bool isWalkableForGhost(Position point, double d, Direction direction) ;
|
|
||||||
|
|
||||||
[[nodiscard]] static bool isWalkableForGost(Position point, Position origin, bool isEyes) ;
|
[[nodiscard]] static bool isWalkableForGost(Position point, Position origin, bool isEyes) ;
|
||||||
[[nodiscard]] static bool isWalkable(Position point) ;
|
[[nodiscard]] static bool isWalkable(Position point) ;
|
||||||
|
|
Loading…
Reference in a new issue