+ Correct CMakeLists.txt in abstract-factory pattern + Commit name change for author of figlet fonts :)
9 lines
161 B
C++
9 lines
161 B
C++
|
|
#include "prototype.hpp"
|
|
|
|
PrototypeFactory::PrototypeFactory()
|
|
{
|
|
prototypes[Types::GEAR] = new Gear(1.5f);
|
|
prototypes[Types::SPRING] = new Spring(2.25f);
|
|
}
|