diff --git a/include/elements.hpp b/include/elements.hpp index 478549d..aac857f 100644 --- a/include/elements.hpp +++ b/include/elements.hpp @@ -10,7 +10,6 @@ struct Point { int m_col; char m_symbol; void assign(int row, int col); - void to_string(); }; struct Bird { diff --git a/src/elements.cpp b/src/elements.cpp index 0e3df72..6dd3984 100644 --- a/src/elements.cpp +++ b/src/elements.cpp @@ -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--;