WIP Background

This commit is contained in:
Nikola Petrov
2024-08-12 17:53:57 +02:00
parent 34e8e7421a
commit aaf5e45824
7 changed files with 157 additions and 47 deletions

View File

@@ -27,6 +27,8 @@ private:
RandBuffer starBuff;
RandBuffer mountenBuff;
Moon m_moon;
int colorSet;
int time;
int size = 0;

View File

@@ -3,18 +3,12 @@
class BackGroundColors
{
public:
enum class ColorSet
{
night,
day1,
day2,
day3
};
static void setColor(ColorSet color);
static void setColor(int color, int time);
static Color backGroundColor;
static Color moonColor;
static Color backMountenColor;
static Color frontMountenColor;
static Color MountenColor1;
static Color MountenColor2;
static Color MountenColor3;
constexpr static Color moonColor = {240, 240, 190, 255};
constexpr static Color starColor = WHITE;
};