コード例 #1
0
 protected VehicleBuilder()
 {
     m_VehicleID = null;
     m_ModelName = null;
     m_Engine = null;
     m_Wheels = null;
     m_Components = new List<Component>();
 }
コード例 #2
0
 public Vehicle(
     eVehicleType i_VehicleType,
     string i_ModelName,
     string i_ID,
     Engine i_Engine,
     List<Wheel> i_Wheels,
     List<Component> i_Components)
 {
     r_VehicleType = i_VehicleType;
     r_ModelName = i_ModelName;
     r_ID = i_ID;
     r_Engine = i_Engine;
     r_Wheels = i_Wheels;
     r_Components = i_Components;
 }