projects
/
TDDC76_proj.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fffdc8e
)
cleanup Bottle.cc
author
Arvid Sjöblom
<arvsj277@student.liu.se>
Mon, 11 Dec 2023 08:47:24 +0000
(09:47 +0100)
committer
Arvid Sjöblom
<arvsj277@student.liu.se>
Mon, 11 Dec 2023 08:47:24 +0000
(09:47 +0100)
src/Bottle.cc
patch
|
blob
|
history
diff --git
a/src/Bottle.cc
b/src/Bottle.cc
index 64b2d3c315a90ab85f42a8f9346a4d2b57255c05..b432bc7f9a494435b8e3b0e5771caca4509e0b97 100644
(file)
--- 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;