Пример #1
0
 public void Generate(ImmediateCube source)
 {
     this.damage       = source.damage;
     this.attackType   = source.attackType;
     this.targetType   = source.targetType;
     this.bulletPrefab = source.bulletPrefab;
     this.isTracing    = source.isTracing;
     this.hitEffect    = source.hitEffect;
 }
Пример #2
0
 public void Generate(FiringCube source)
 {
     damage          = source.damage;
     attackType      = source.attackType;
     targetType      = source.targetType;
     bulletPrefab    = source.bulletPrefab;
     isTracing       = source.isTracing;
     duration        = source.duration;
     damagePerSecond = source.damagePerSecond;
 }
Пример #3
0
 public void Generate(SlowCube source)
 {
     damage           = source.damage;
     attackType       = source.attackType;
     targetType       = source.targetType;
     bulletPrefab     = source.bulletPrefab;
     isTracing        = source.isTracing;
     hitEffect        = source.hitEffect;
     slowDuration     = source.slowDuration;
     slowSpeedPercent = source.slowSpeedPercent;
 }
Пример #4
0
 public void Generate(ExplosionCube source)
 {
     damage               = source.damage;
     attackType           = source.attackType;
     targetType           = source.targetType;
     bulletPrefab         = source.bulletPrefab;
     isTracing            = source.isTracing;
     explosionRadius      = source.explosionRadius;
     explosionAttenuation = source.explosionAttenuation;
     hitEffect            = source.hitEffect;
 }
Пример #5
0
 public void Generate(StunCube source)
 {
     damage       = source.damage;
     attackType   = source.attackType;
     targetType   = source.targetType;
     bulletPrefab = source.bulletPrefab;
     isTracing    = source.isTracing;
     hitEffect    = source.hitEffect;
     stunDuration = source.stunDuration;
     possibility  = source.possibility;
 }
Пример #6
0
    public void Generate(ExplosionFiringCube source)
    {
        damage                  = source.damage;
        attackType              = source.attackType;
        targetType              = source.targetType;
        bulletPrefab            = source.bulletPrefab;
        isTracing               = source.isTracing;
        target                  = source.target;
        explosionRadius         = source.explosionRadius;
        explosionAttenuation    = source.explosionAttenuation;
        hitEffect               = source.hitEffect;
        explosionParticleEffect = source.explosionParticleEffect;

        firingRadius         = source.firingRadius;
        duration             = source.duration;
        damagePerSecond      = source.damagePerSecond;
        firingParticleEffect = source.firingParticleEffect;
    }