ActiveArty.cpp 625 B

12345678910111213
  1. #include "ActiveArty.h"
  2. ActiveArty::ActiveArty(double _range, double _temperature, string _type, double _caliber, size_t _numInBattery, size_t _numShells,
  3. string _typeshells, string _typefuze, string _name) : range(_range), temperature(_temperature), typesCalibers(make_pair(_type, _caliber)),
  4. numInBattery(_numInBattery), numShells(_numShells), typeshells(_typeshells), typefuze(_typefuze), name(_name) {};
  5. ActiveArty::~ActiveArty()
  6. {
  7. return;
  8. }
  9. ActiveArty::ActiveArty() : range(0), temperature(0), typesCalibers(make_pair("", 0.)),
  10. numInBattery(0), numShells(0), typeshells(""), typefuze(""), name ("") {};