CMAKE changes
This commit is contained in:
+3
-2
@@ -1,6 +1,7 @@
|
||||
#ifndef ELEMENT_HPP
|
||||
#define ELEMENT_HPP
|
||||
|
||||
#include <cstdint>
|
||||
#include <vector>
|
||||
#include "globals.hpp"
|
||||
|
||||
@@ -25,11 +26,11 @@ public:
|
||||
void run();
|
||||
|
||||
private:
|
||||
Window* win;
|
||||
std::vector<Vector2i> buf;
|
||||
bool running = true;
|
||||
enum Direction m_dir;
|
||||
int m_score = 0;
|
||||
Window* win;
|
||||
uint8_t m_score = 0;
|
||||
void process_input();
|
||||
void determine_index_zero_pos();
|
||||
void move_tail_indicies();
|
||||
|
||||
Reference in New Issue
Block a user