From 825922664ac25332f68deb30f533b5329c294e83 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arvid=20Sj=C3=B6blom?= Date: Mon, 11 Dec 2023 09:47:24 +0100 Subject: [PATCH] cleanup Bottle.cc --- src/Bottle.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bottle.cc b/src/Bottle.cc index 64b2d3c..b432bc7 100644 --- a/src/Bottle.cc +++ b/src/Bottle.cc @@ -5,7 +5,6 @@ #include "Context.h" #include "States.h" - Bottle::Bottle(sf::Texture& txtr, json& params) { texture = txtr; @@ -27,6 +26,7 @@ void Bottle::render(sf::RenderWindow& window) const { window.draw(sprite); } + sf::Vector2f Bottle::get_pos() { return position; -- 2.30.2