Ejemplo n.º 1
0
        protected DatabasePurchasableObject(Collections.BTypeValuesParams <float> rsrc_cost_params, XML.BTypeValuesXmlParams <float> rsrc_cost_xml_params)
        {
            mResourceCostXmlParams = rsrc_cost_xml_params;

            ResourceCost = new Collections.BTypeValuesSingle(rsrc_cost_params);

            mBuildTime = mResearchTime = Util.kGetInvalidSingle();
        }
Ejemplo n.º 2
0
 protected DatabaseIdObject(Collections.BTypeValuesParams <float> rsrc_cost_params, XML.BTypeValuesXmlParams <float> rsrc_cost_xml_params)
     : base(rsrc_cost_params, rsrc_cost_xml_params)
 {
     mDbId = Util.kInvalidInt32;
 }
 protected DatabaseIdObject(Collections.BTypeValuesParams <float> rsrcCostParams, XML.BTypeValuesXmlParams <float> rsrcCostXmlParams)
     : base(rsrcCostParams, rsrcCostXmlParams)
 {
 }
        protected DatabasePurchasableObject(Collections.BTypeValuesParams <float> rsrcCostParams, XML.BTypeValuesXmlParams <float> rsrcCostXmlParams)
        {
            mResourceCostXmlParams = rsrcCostXmlParams;

            ResourceCost = new Collections.BTypeValuesSingle(rsrcCostParams);
        }