TestDataCar.cpp 469 B

1234567891011121314151617181920212223
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2020-11-14
  6. * Changed: 2022-05-14
  7. *
  8. * */
  9. #include "TestDataCar.hpp"
  10. ls_std_test::TestDataCar::TestDataCar() : color("white")
  11. {}
  12. std::string ls_std_test::TestDataCar::getColor()
  13. {
  14. return this->color;
  15. }
  16. void ls_std_test::TestDataCar::setColor(std::string _color)
  17. {
  18. this->color = std::move(_color);
  19. }