#pragma once #include "Direction.hpp" #include "Position.hpp" #include #include #include namespace pacman { bool isWalkableForPacMan(GridPosition point); bool isWalkableForGhost(GridPosition target_position, GridPosition current_position, bool isEyes); bool isInPen(GridPosition point); bool isPortal(GridPosition point, Direction direction); bool isIntersection(GridPosition point); GridPosition teleport(GridPosition point); std::vector initialPelletPositions(); std::vector initialSuperPelletPositions(); inline Position penDoorPosition() { return { 13, 11 }; } inline Position initialPacManPosition() { return { 13.5, 23 }; } } // namespace pacman