public override void Execute(Context c) { IQuestList result = m_list.Execute(c) as IQuestList; if (result != null) { result.Remove(m_value.Execute(c)); } else { throw new Exception("Unrecognised list type"); } }
public void DoRedo(WorldModel worldModel) { m_appliesTo.Remove(m_removedItem, UpdateSource.System, m_index); }