blob: a4b6ce60389ef7ee3866f433e0a3273a52be57bb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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
|