public void AddResources(LogicResourceData data, int count)
        {
            LogicDeliverableResource instance = null;

            for (int i = 0; i < this.m_deliverables.Size(); i++)
            {
                LogicDeliverable deliverable = this.m_deliverables[i];

                if (deliverable.GetDeliverableType() == 1)
                {
                    LogicDeliverableResource deliverableResource = (LogicDeliverableResource)deliverable;

                    if (deliverableResource.GetResourceData() == data)
                    {
                        instance = deliverableResource;
                        break;
                    }
                }
            }

            if (instance != null)
            {
                instance.SetResourceAmount(instance.GetResourceAmount() + count);
            }
            else
            {
                LogicDeliverableResource deliverableResource = new LogicDeliverableResource();

                deliverableResource.SetResourceData(data);
                deliverableResource.SetResourceAmount(count);

                this.m_deliverables.Add(deliverableResource);
            }
        }
 public void AddDeliverable(LogicDeliverable deliverable)
 {
     this.m_deliverables.Add(deliverable);
 }