treender/inc/BackGround.hpp
Nikola Petrov e6f102266c Add BackGround
add stary night
2024-03-09 17:18:17 +01:00

23 lines
404 B
C++

#include <vector>
#include "raylib.h"
class BackGround
{
public:
BackGround() = default;
~BackGround() = default;
void init(int size);
void newGen();
private:
void starts();
void mounten();
void drawMounten(std::vector<float> &data, int line, int varience, Color color);
size_t numOfStarts = 150;
Color starColor = WHITE;
int size = 0;
Texture2D texShapes = {1, 1, 1, 1, 7};
};