Exemple #1
0
 public void AddEnergyToMotor(float i_AmountOfEnergyToAdd, FuelMotor.eFuelType i_FuelType = 0)
 {
     m_Motor.AddEnergy(i_AmountOfEnergyToAdd, i_FuelType);
     setPercentageOfEnergyRemaining();
 }
Exemple #2
0
 public abstract void AddEnergy(float i_AmountOfEnergyToAdd, FuelMotor.eFuelType i_FuelType = 0);