コード例 #1
0
 public void Executed(Maneuver m, bool isCopy)
 {
     // maneuvers in a copy of the main state are "what if" projections so do not notify about
     // completed maneuver
     if (!isCopy && m.onExecuted != null)
     {
         m.onExecuted(m);
     }
     Remove(m);
 }
コード例 #2
0
	public void Executed(Maneuver m) {
		if (m.onExecuted != null) {
			m.onExecuted(m);
		}
		Remove(m);
	}