diff options
Diffstat (limited to 'labb3/tiles/TileList.h')
| -rw-r--r-- | labb3/tiles/TileList.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/labb3/tiles/TileList.h b/labb3/tiles/TileList.h new file mode 100644 index 0000000..a4b6ce6 --- /dev/null +++ b/labb3/tiles/TileList.h @@ -0,0 +1,29 @@ +// This is the .h file you will edit and turn in. +// We have provided a skeleton for you, +// but you must finish it as described in the spec. +// Also remove these comments here and add your own, as well as on the members. +// TODO: remove this comment header + +#ifndef TILELIST_H +#define TILELIST_H + +#include <QGraphicsScene> +#include "Tile.h" + +class TileList { +public: + TileList(); + ~TileList(); + void addTile(Tile tile); + void drawAll(QGraphicsScene* scene); + int indexOfTopTile(int x, int y); + void lower(int x, int y); + void raise(int x, int y); + void remove(int x, int y); + void removeAll(int x, int y); + +private: + +}; + +#endif // TILELIST_H |
