klips/cpp/patterns/factory/parts.cpp

11 lines
198 B
C++
Raw Permalink Normal View History

2021-05-11 19:04:58 +00:00
#include "parts.hpp"
/*****************************************************************************/
// Gear
Gear::Gear(std::string name, float price) {
partName = name;
partPrice = price;
}