Пример #1
0
 public TargetTierData(
     Material mat,
     TargetData data
     )
 {
     material   = mat;
     targetData = data;
 }
Пример #2
0
        public void SetTier(int tier)
        {
            thisTier = tier;
            Material       mat        = thisShootingTargetReserveAdaptor.GetMaterialForTier(tier);
            TargetData     targetData = thisShootingTargetReserveAdaptor.GetTargetDataForTier(tier);
            TargetTierData tierData   = new TargetTierData(
                mat,
                targetData
                );

            SetAllTargetTier(
                tierData
                );
            SetAllDestroyedTargetTier(
                tierData
                );
        }
 public void SetTargetData(TargetData data)
 {
     targetData = data;
 }
 public void UpdateTargetData(TargetData data)
 {
     thisTargetData = data;
     thisShootingTargetAdaptor.SetTargetData(data);
 }