#ifndef BLOCKCLUMP_H #define BLOCKCLUMP_H #include "pixelGameEngine.h" class Block; enum class BlockColor; class BlockClump{ std::vectorblocks; public: float vspeed=0; float landTime=0.f; float y=0; BlockClump(){} std::vector&getBlocks(); void addBlock(int col,BlockColor color); void addBlock(int col,int row,BlockColor color); void addBlock(vf2d offset,BlockColor color); void addBlockOnTopOf(int col,BlockColor color); //Get a block's position relative to this block clump. vf2d getBlockPosition(Block&b); }; #endif