From a7b1ebb9c51d12af0d98d7a89af6d7fcd5acdae6 Mon Sep 17 00:00:00 2001 From: DarthMooMancer Date: Thu, 4 Sep 2025 19:43:28 -0400 Subject: [PATCH] remove: to_string in elements --- include/elements.hpp | 1 - src/elements.cpp | 4 ---- 2 files changed, 5 deletions(-) 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--;