diff options
Diffstat (limited to 'battery.cpp')
-rw-r--r-- | battery.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/battery.cpp b/battery.cpp new file mode 100644 index 0000000..e91b05f --- /dev/null +++ b/battery.cpp @@ -0,0 +1,14 @@ +#include "battery.h" + +Battery::Battery() : + activeBattery(batteries[0]), + seriesCells(0), + parallelCells(0) +{ + +} + +void Battery::changeBatteryChemistry(int name) +{ + activeBattery= batteries[name]; +} |