TestDataCar.cpp 528 B

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