Files
snake/include/fruit.hpp
T
2025-05-12 17:15:25 -04:00

16 lines
294 B
C++

#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();
void reset(std::array<std::array<char, COL>, ROW> &arr, int row, int col, int &score);
};
#endif // FRUIT_HPP