internal VehicleInGarage(Vehicle i_Vehicle, string i_OwnerName, string i_OwnerPhone, GarageENum.eEnergyType i_EnergyType)
 {
     this.m_EnergyType = i_EnergyType;
     this.m_Vehicle    = i_Vehicle;
     this.m_OwnerName  = i_OwnerName;
     this.m_OwnerPhone = i_OwnerPhone;
     this.m_Status     = GarageENum.eStatus.InRepair;
 }
예제 #2
0
 internal Energy(GarageENum.eEnergyType i_EnergyType, float i_MaxEnergy, float i_CurrentEnergyLeft)
 {
     this.m_EnergyType        = i_EnergyType;
     this.m_MaxEnergy         = i_MaxEnergy;
     this.m_CurrentEnergyLeft = i_CurrentEnergyLeft;
 }