コード例 #1
0
 public void ProcessAction(UnitRemovalAction action)
 {
     if (action is null)
     {
         throw new ArgumentNullException(nameof(action));
     }
     try {
         RemoveUnit(action.Unit);
     } catch (InvalidOperationException) {}
 }
コード例 #2
0
 public void PlanAction(UnitRemovalAction action) => PlanAction(this, action);
コード例 #3
0
 public void PlanAction(UnitRemovalAction action) => Presented.PlanAction(action);