| 41 | } |
| 42 | |
| 43 | VehicleBase* VehicleBase::previousVehicleComponent() |
| 44 | { |
| 45 | auto component = EntityManager::get<VehicleBase>(this->getHead()); |
| 46 | while (component->nextVehicleComponent() != this) |
| 47 | { |
| 48 | component = component->nextVehicleComponent(); |
| 49 | } |
| 50 | return component; |
| 51 | } |
| 52 | |
| 53 | VehicleSound* VehicleBase::getVehicleSound() |
| 54 | { |
no test coverage detected