Files
snake/include/fruit.hpp
T

16 lines
264 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);
};
#endif // FRUIT_HPP