From: Arvid Sjöblom Date: Mon, 11 Dec 2023 08:47:24 +0000 (+0100) Subject: cleanup Bottle.cc X-Git-Url: https://gitweb.forssennils.se/?a=commitdiff_plain;h=825922664ac25332f68deb30f533b5329c294e83;p=TDDC76_proj.git cleanup Bottle.cc --- 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;