Exemple #1
0
 public DamageableConfig(DamageableConfig copyFrom)
 {
     health            = copyFrom.health;
     points            = copyFrom.points;
     isPlayer          = copyFrom.isPlayer;
     destructible      = copyFrom.destructible;
     registerAsTarget  = copyFrom.registerAsTarget;
     triggerVariable   = copyFrom.triggerVariable;
     allowMelee        = copyFrom.allowMelee;
     hideWhenDestroyed = copyFrom.hideWhenDestroyed;
     stateChange       = copyFrom.stateChange;
     destroyAction     = copyFrom.destroyAction;
     endValue          = copyFrom.endValue;
     duration          = copyFrom.duration;
     breakSounds       = copyFrom.breakSounds;
 }
Exemple #2
0
 public DamageableConfig(DamageableConfig copyFrom)
 {
     type              = copyFrom.type;
     health            = copyFrom.health;
     damageMultiplier  = copyFrom.damageMultiplier;
     points            = copyFrom.points;
     isPlayer          = copyFrom.isPlayer;
     destructible      = copyFrom.destructible;
     registerAsTarget  = copyFrom.registerAsTarget;
     targetName        = copyFrom.targetName;
     triggerVariable   = copyFrom.triggerVariable;
     allowMelee        = copyFrom.allowMelee;
     hideWhenDestroyed = copyFrom.hideWhenDestroyed;
     stateChange       = copyFrom.stateChange;
     duration          = copyFrom.duration;
     breakSounds       = copyFrom.breakSounds;
 }