klips/cpp/patterns/factory/parts.cpp

11 lines
198 B
C++

#include "parts.hpp"
/*****************************************************************************/
// Gear
Gear::Gear(std::string name, float price) {
partName = name;
partPrice = price;
}