feat: fruits, globals, input, snake, point, window
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
#ifndef FRUIT_HPP
|
||||
#define FRUIT_HPP
|
||||
|
||||
#include "point.hpp"
|
||||
|
||||
struct Fruit {
|
||||
int unsigned m_row;
|
||||
int unsigned m_col;
|
||||
|
||||
Point m_point;
|
||||
Fruit();
|
||||
void create_point();
|
||||
};
|
||||
#endif // FRUIT_HPP
|
||||
Reference in New Issue
Block a user