generated from sigonasr2/CPlusPlusProjectTemplate
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
256 B
13 lines
256 B
2 years ago
|
#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};
|
||
|
}
|