| 1145 | } |
| 1146 | |
| 1147 | Maybe<PlatformerAStar::Action> PathController::curAction() const { |
| 1148 | if (m_path && m_edgeIndex < m_path->size()) { |
| 1149 | return m_path->at(m_edgeIndex).action; |
| 1150 | } |
| 1151 | return {}; |
| 1152 | } |
| 1153 | |
| 1154 | Maybe<bool> PathController::findPath(ActorMovementController& movementController, Vec2F const& targetPosition) { |
| 1155 | using namespace PlatformerAStar; |
no test coverage detected