diff options
Diffstat (limited to 'train.h')
-rw-r--r-- | train.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/train.h b/train.h deleted file mode 100644 index 249d92e..0000000 --- a/train.h +++ /dev/null @@ -1,27 +0,0 @@ -#pragma once - -#include "bitmap.h" - -enum CarDirection { - North, - East, - South, - West -}; - -class Level; - -class TrainCar { -public: - TrainCar(int x, int y) - : x(x), y(y), m_sprite("car.png") {} - - void update(Level&); - void draw(Bitmap&, int, int); - - int x, y; -private: - Bitmap m_sprite; - int m_progress; - CarDirection m_dir; -};
\ No newline at end of file |