Setting Barrel in two classes

Why are we setting Barrel in Tank and TankAimingComponent and the same time?
Is it better practise than creating a barrel getter in TankAimingComponent and calling TankAimingComponent()->GetBarrel()

Privacy & Terms