/* * PieceGenerator.h * * Created on: May 5, 2013 * Author: chibi_000 */ #ifndef PIECEGENERATOR_H_ #define PIECEGENERATOR_H_ #include "../Domain/Piece.h" #include class PieceGenerator { private: // Constants static const int pieces_array[][8]; protected: // Private fields std::vector pieces; // Private functions virtual void initializePieces(); public: // Constructors PieceGenerator(); virtual ~PieceGenerator(); // Getters virtual Piece getRandomPiece() const; virtual Piece getRandomPieceRotated() const; }; #endif /* PIECEGENERATOR_H_ */