Example #1
0
 public override void GetDetailesEngine(List <string> io_listOfDetailes)  // this function add the gasolin engine detailes to the list
 {
     io_listOfDetailes.Add(string.Format("Type of fule :{0}", m_fuelType.ToString()));
     io_listOfDetailes.Add(string.Format("Max fule :{0}", MaxEngineQuantity.ToString()));
     io_listOfDetailes.Add(string.Format("Current fuel:{0}", CurrentEngineQuantity.ToString()));
 }
Example #2
0
 public override void GetDetailesEngine(List <string> io_listOfDetailes)  // this function add the electric engine detailes to the list
 {
     io_listOfDetailes.Add(string.Format("Max battery :{0}", MaxEngineQuantity.ToString()));
     io_listOfDetailes.Add(string.Format("Current battery:{0}", CurrentEngineQuantity.ToString()));
 }