Add class DnaManager
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#include <array>
|
||||
#include "canvas/Canvas.hpp"
|
||||
|
||||
#include "values/DnaManager.hpp"
|
||||
class App
|
||||
{
|
||||
|
||||
@@ -21,5 +21,6 @@ private:
|
||||
Rectangle likeBox;
|
||||
Rectangle disLikeBox;
|
||||
|
||||
Dna dna = {0};
|
||||
Dna *dnaShow = nullptr;
|
||||
DnaManager manager;
|
||||
};
|
||||
|
11
inc/values/DnaManager.hpp
Normal file
11
inc/values/DnaManager.hpp
Normal file
@@ -0,0 +1,11 @@
|
||||
#include "values/Dna.hpp"
|
||||
|
||||
class DnaManager
|
||||
{
|
||||
public:
|
||||
DnaManager() = default;
|
||||
Dna *next(bool prevLiked);
|
||||
|
||||
private:
|
||||
Dna dna;
|
||||
};
|
Reference in New Issue
Block a user