WIP Background
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#include <raylib.h>
|
||||
|
||||
Color ColorLerp(Color c1, Color c2, float amount);
|
||||
Color ColorAdd(Color c, int add);
|
||||
Vector2 CalculateVector(float rotation, float offSet, float len);
|
||||
float GetRandomFloat();
|
@@ -27,6 +27,8 @@ private:
|
||||
RandBuffer starBuff;
|
||||
RandBuffer mountenBuff;
|
||||
Moon m_moon;
|
||||
int colorSet;
|
||||
int time;
|
||||
|
||||
int size = 0;
|
||||
|
||||
|
@@ -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;
|
||||
};
|
||||
|
Reference in New Issue
Block a user