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.
26 lines
354 B
26 lines
354 B
#ifndef BLOCK_H
|
|
#define BLOCK_H
|
|
#include "pixelGameEngine.h"
|
|
|
|
enum class BlockColor{
|
|
WHITE,
|
|
GREEN,
|
|
RED,
|
|
ORANGE,
|
|
BLUE,
|
|
PINK,
|
|
LIGHT,
|
|
DARK,
|
|
SOUL,
|
|
TIME
|
|
};
|
|
|
|
class Block{
|
|
public:
|
|
vf2d pos;
|
|
BlockColor col;
|
|
bool markedForDeletion=false;
|
|
Block(vf2d pos,BlockColor col)
|
|
:pos(pos),col(col){}
|
|
};
|
|
#endif |