/// <summary> /// Creates a copy of the PowerAttack. /// </summary> /// <returns>Returns the copy.</returns> public PowerAction Copy() { PowerAction pa = new PowerAction(); pa.Action = fAction; pa.Trigger = fTrigger; pa.SustainAction = fSustainAction; pa.Use = fUse; pa.Recharge = fRecharge; return(pa); }
public PowerAction Copy() { PowerAction powerAction = new PowerAction() { Action = this.fAction, Trigger = this.fTrigger, SustainAction = this.fSustainAction, Use = this.fUse, Recharge = this.fRecharge }; return(powerAction); }