public HitEffect(HitEffect hitEffect) { this.name = hitEffect.name; this.value = hitEffect.value; this.duration = hitEffect.duration; this.hitTime = hitEffect.hitTime; }
/// <summary> /// Copy constructor to populate a new struct with an old /// </summary> /// <param name="hitEffect"></param> public HitEffect(HitEffect hitEffect) { this.name = hitEffect.name; this.value = hitEffect.value; this.duration = hitEffect.duration; this.hitTime = hitEffect.hitTime; }
public HitEffectGUIBacker(HitEffect effect) { this.name = effect.name; this.value = effect.value; this.duration = effect.duration; }
/// <summary> /// Create a new HitEffectGUIBacker from a HitEffect struct /// </summary> /// <returns></returns> public HitEffectGUIBacker(HitEffect effect) { this.name = effect.name; this.value = effect.value; this.duration = effect.duration; }