Meteos/BlockClump.h
sigonasr2 95a110808c Blocks were converted to block clump structure
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2022-11-18 04:26:29 -07:00

19 lines
392 B
C++

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