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.
28 lines
402 B
28 lines
402 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;
|
|
bool markedForDeletion=false;
|
|
bool markedForRemoval=false;
|
|
Block(vf2d pos,BlockColor col)
|
|
:pos(pos),col(col){}
|
|
};
|
|
#endif |