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