public void DestroyDefenseObject(long defenseObjectID)
    {
        DestroyDefenseObjectRequestParameter request = new DestroyDefenseObjectRequestParameter();

        if (defenseObjectID > 0)
        {
            this.m_DefenseObjects.Remove(defenseObjectID);
            request.DefenseObjectID = defenseObjectID;
        }
        else
        {
            foreach (KeyValuePair <long, DefenseObjectLogicObject> defenseObject in this.m_UnreceivedIDObjects)
            {
                if (defenseObject.Key == defenseObjectID)
                {
                    this.m_UnreceivedIDObjects.Remove(defenseObject);
                    request.PositionRow    = defenseObject.Value.Data.Position.Row;
                    request.PositionColumn = defenseObject.Value.Data.Position.Column;
                    break;
                }
            }
        }
        CommunicationUtility.Instance.DestroyDefenseObject(request);
    }
 public void DestroyDefenseObject(DestroyDefenseObjectRequestParameter parameter)
 {
     this.CommunicateWithServer(parameter.GetHashtableFromParameter(), ClientCommandConsts.DESTROY_DEFENSE_OBJECT_COMMAND);
 }