generated from AMay/CPlusPlusProjectTemplate
13 lines
256 B
C++
13 lines
256 B
C++
#include "gameDefines.h"
|
|
|
|
std::vector<Block>&BlockClump::getBlocks(){
|
|
return blocks;
|
|
}
|
|
|
|
void BlockClump::addBlock(int col){
|
|
blocks.push_back(Block({(float)col*12,0}));
|
|
}
|
|
|
|
vf2d BlockClump::getBlockPosition(Block&b){
|
|
return {b.pos.x,b.pos.y+y};
|
|
} |