| 664 | } |
| 665 | |
| 666 | void StatusController::updateAnimators(float dt) { |
| 667 | for (auto const& animator : m_effectAnimators.netElements()) { |
| 668 | if (m_parentEntity->world()->isServer()) { |
| 669 | animator->animator.update(dt, nullptr); |
| 670 | } else { |
| 671 | animator->animator.update(dt, &animator->dynamicTarget); |
| 672 | animator->dynamicTarget.updatePosition(m_movementController->position()); |
| 673 | } |
| 674 | } |
| 675 | } |
| 676 | |
| 677 | void StatusController::updatePersistentUniqueEffects() { |
| 678 | Set<UniqueStatusEffect> activePersistentUniqueEffects; |
nothing calls this directly
no test coverage detected