public Cannon( Transform transform, float reloadingTime, RocketType rocketType, RocketsFactory rocketsFactory ) { _transform = transform; _reloadingTime = reloadingTime; RocketType = rocketType; _rocketsFactory = rocketsFactory; }
public void SetFactory(RocketsFactory rocketsFactory) { _rocketsFactory = rocketsFactory; }