Files
snake/include/fruit.hpp
T
2025-08-21 09:17:37 -04:00

16 lines
306 B
C++

#ifndef FRUIT_HPP
#define FRUIT_HPP
#include "point.hpp"
struct Fruit {
Fruit();
int unsigned m_row;
int unsigned m_col;
Point m_point;
void create_point();
void reset(std::array<std::array<char, COL>, ROW> &arr, int row, int col, int &score, int &count);
};
#endif // FRUIT_HPP