First steps at creating a taguacore library.
[tagua/yd.git] / src / piecefactory.h
blob2092ba5caa0b6d2177263701f926cdde2e2b0707
1 #ifndef PIECEFACTORY_H
2 #define PIECEFACTORY_H
4 #include <QString>
6 template <typename Variant>
7 class PieceFactory {
8 public:
9 static typename Variant::Piece createPiece(const QString&) { return typename Variant::Piece(); }
12 #endif // PIECEFACTORY_H