Attempt #7?!
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.
Meteos/Block.h

30 lines
462 B

#ifndef BLOCK_H
#define BLOCK_H
#include "pixelGameEngine.h"
enum class BlockColor{
WHITE,
GREEN,
RED,
ORANGE,
BLUE,
PINK,
LIGHT,
DARK,
SOUL,
TIME,
LAUNCHED,
};
class Block{
public:
vf2d pos;
BlockColor col;
float resetTime=0.0f;
bool markedForDeletion=false;
bool markedForRemoval=false;
bool addedToLaunchList=false;
Block(vf2d pos,BlockColor col)
:pos(pos),col(col){}
};
#endif