| 1501 | } |
| 1502 | |
| 1503 | bool BattleUnit::canMove() const |
| 1504 | { |
| 1505 | if (!isConscious() || agent->overEncumbred) |
| 1506 | { |
| 1507 | return false; |
| 1508 | } |
| 1509 | if (agent->isMovementStateAllowed(MovementState::Normal) || |
| 1510 | agent->isMovementStateAllowed(MovementState::Running)) |
| 1511 | { |
| 1512 | return true; |
| 1513 | } |
| 1514 | return false; |
| 1515 | } |
| 1516 | |
| 1517 | bool BattleUnit::canProne(Vec3<int> pos, Vec2<int> fac) const |
| 1518 | { |
no test coverage detected