treender/inc/canvas/Canvas.hpp
Nikola Petrov d7afa1afc9 Extract RenderTexture from Canvas
For easyer managment of texures and potential buffers
2024-08-12 22:39:52 +02:00

18 lines
250 B
C++

#include <raylib.h>
#include "BackGround.hpp"
#include "Tree.hpp"
class Canvas
{
public:
Canvas() = default;
~Canvas() = default;
void init(int size);
void newGen(RenderTexture2D& target);
private:
BackGround backGround;
Tree tree;
};