| 428 | } |
| 429 | |
| 430 | void Projectile::setInitialVelocity(Vec2F const& velocity) { |
| 431 | m_movementController->setVelocity(velocity + m_referenceVelocity.value()); |
| 432 | m_movementController->setRotation(velocity.angle()); |
| 433 | } |
| 434 | |
| 435 | void Projectile::setSourceEntity(EntityId source, bool trackSource) { |
| 436 | m_sourceEntity = source; |
no test coverage detected