Professional Documents
Culture Documents
Shapes Container.h
Shapes Container.h
#define PIECES_CONTAINER_H
#include <iomanip>
#include <vector>
#include "Enums.h"
namespace Tetris
{
/**
* @brief Represents a container for Tetris shapes.
*/
class Shapes_Container
{
public:
/**
* @brief Constructs a vector with all possible Tetris shapes and initializes
index 0
*/
Shapes_Container();
/**
* @brief Retrieves the next shape in the container.
* @return The next shape in the container.
*/
const BrickShape& getNextShape();
private:
/**
* @brief Shuffles the shapes in the container.
*/
void shuffle();
#endif // PIECES_CONTAINER_H