MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / curAction

Method curAction

source/game/StarActorMovementController.cpp:1147–1152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1145}
1146
1147Maybe<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
1154Maybe<bool> PathController::findPath(ActorMovementController& movementController, Vec2F const& targetPosition) {
1155 using namespace PlatformerAStar;

Callers 1

tickMasterMethod · 0.80

Calls 2

sizeMethod · 0.45
atMethod · 0.45

Tested by

no test coverage detected