public void UpdateMeters(float electricPower = 0) { ElectricMeter.UpdateMeters(electricPower); GasMeter.UpdateMeters(); WaterMeter.UpdateMeters(); }
public House() { ElectricMeter = new ElectricMeter(); WaterMeter = new WaterMeter(); GasMeter = new GasMeter(); }