public ConstArg(
     int index,
     IBellCurve healthBellCurve,
     IShootingTargetAdaptor adaptor,
     ITargetData targetData
     ) : base(
         adaptor
         )
 {
     thisIndex           = index;
     thisHealthBellCurve = healthBellCurve;
     thisTargetData      = targetData;
 }
 public ConstArg(
     int index,
     UnityBase.IBellCurve healthBellCurve,
     IStaticShootingTargetAdaptor adaptor,
     ITargetData targetData
     ) : base(
         index,
         healthBellCurve,
         adaptor,
         targetData
         )
 {
 }
 public ConstArg(
     int index,
     // Color defaultColor,
     UnityBase.IBellCurve healthBellCurve,
     IGlidingTargetAdaptor adaptor,
     ITargetData targetData
     ) : base(
         index,
         // defaultColor,
         healthBellCurve,
         adaptor,
         targetData
         )
 {
 }
Beispiel #4
0
            public ConstArg(
                int index,
                // Color defaultColor,
                UnityBase.IBellCurve healthBellCurve,
                IFlyingTargetAdaptor adaptor,
                ITargetData targetData,

                Vector3 initialVelocity,
                float distThreshold,
                int waypointsCountInSequence,
                float speed
                ) : base(
                    index,
                    // defaultColor,
                    healthBellCurve,
                    adaptor,
                    targetData
                    )
            {
                thisInitialVelocity          = initialVelocity;
                thisDistThreshold            = distThreshold;
                thisWaypointsCountInSequence = waypointsCountInSequence;
                thisSpeed = speed;
            }
 public HitTargetColliderGenerator(IApiColliderGenerator api, ITargetData data, IMeshGenerator meshProvider) : base(api, data, meshProvider)
 {
 }
 public void UpdateTargetData(TargetData data)
 {
     thisTargetData = data;
     thisShootingTargetAdaptor.SetTargetData(data);
 }
Beispiel #7
0
 protected TargetColliderGenerator(IApiColliderGenerator api, ITargetData data, IMeshGenerator meshGenerator)
 {
     _api          = api;
     Data          = data;
     MeshGenerator = meshGenerator;
 }