Move DNA from Canvas to App
This commit is contained in:
@@ -10,11 +10,9 @@ public:
|
||||
~Canvas() = default;
|
||||
void init(int size);
|
||||
void deinit();
|
||||
void newGen(RenderTexture2D &target);
|
||||
void newGen(RenderTexture2D &target, Dna *dna);
|
||||
|
||||
private:
|
||||
BackGround backGround;
|
||||
Tree tree;
|
||||
|
||||
Dna dna = {0};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user