#include "gameDefines.h" std::vector&BlockClump::getBlocks(){ return blocks; } void BlockClump::addBlock(int col,BlockColor color){ blocks.push_back(Block({(float)col*12,0},color)); } void BlockClump::addBlock(int col,int row,BlockColor color){ blocks.push_back(Block({(float)col*12,(float)row*12},color)); } void BlockClump::addBlock(vf2d offset,BlockColor color){ blocks.push_back(Block(offset,color)); } vf2d BlockClump::getBlockPosition(Block&b){ return {b.pos.x,b.pos.y+y}; }