public void ProcessAction(DamageCausingAction action)
 {
     if (action is null)
     {
         throw new ArgumentNullException(nameof(action));
     }
     if (Context is null)
     {
         return;
     }
     CauseDamage(action.Damage);
 }
Example #2
0
        // Action processing.

        public void PlanAction(DamageCausingAction action) => Presented.PlanAction(action);
 public void PlanAction(DamageCausingAction action) => PlanAction(this, action);