Exemplo n.º 1
0
        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");
            }
        }
Exemplo n.º 2
0
 public void DoRedo(WorldModel worldModel)
 {
     m_appliesTo.Remove(m_removedItem, UpdateSource.System, m_index);
 }