Esempio n. 1
0
 public Cannon(
     Transform transform,
     float reloadingTime,
     RocketType rocketType,
     RocketsFactory rocketsFactory
     )
 {
     _transform      = transform;
     _reloadingTime  = reloadingTime;
     RocketType      = rocketType;
     _rocketsFactory = rocketsFactory;
 }
Esempio n. 2
0
 public void SetFactory(RocketsFactory rocketsFactory)
 {
     _rocketsFactory = rocketsFactory;
 }