public void ProcessAction(DamageCausingAction action) { if (action is null) { throw new ArgumentNullException(nameof(action)); } if (Context is null) { return; } CauseDamage(action.Damage); }
// Action processing. public void PlanAction(DamageCausingAction action) => Presented.PlanAction(action);
public void PlanAction(DamageCausingAction action) => PlanAction(this, action);