remove: to_string in elements

This commit is contained in:
DarthMooMancer
2025-09-04 19:43:28 -04:00
parent abc0f4a705
commit a7b1ebb9c5
2 changed files with 0 additions and 5 deletions
-1
View File
@@ -10,7 +10,6 @@ struct Point {
int m_col;
char m_symbol;
void assign(int row, int col);
void to_string();
};
struct Bird {
-4
View File
@@ -6,10 +6,6 @@ void Point::assign(int row, int col) {
m_col = col;
}
void Point::to_string() {
std::cout << "(" << m_row << ", " << m_col << ")" << std::endl;
}
void Bird::move() {
if(m_fly) {
m_body.m_row--;