summaryrefslogtreecommitdiff
path: root/src/train.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/train.h')
-rw-r--r--src/train.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/train.h b/src/train.h
index 178583f..d47818e 100644
--- a/src/train.h
+++ b/src/train.h
@@ -8,7 +8,7 @@ class Level;
class Train {
public:
explicit Train(Level& level)
- : m_sprite("res/car.png"), m_level(level) { }
+ : m_level(level) { }
void update();
void draw(Bitmap&, int, int);
@@ -25,7 +25,6 @@ private:
Train* m_next { nullptr };
Train* m_prev { nullptr };
- Bitmap m_sprite;
Level& m_level;
int x { 0 }, y { 0 };