-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstatictile.h
44 lines (33 loc) · 954 Bytes
/
statictile.h
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#ifndef STATICTILE_H
#define STATICTILE_H
#include "tile.h"
class StaticTile : public Tile {
// int id;
// BlendMode blendMode;// = BlendMode::ALPHA;
// QMap<QString, QString> properties;
// QPixmap pixmap;
// float offsetX;
// float offsetY;
public:
// StaticTile();
// int getId();
// void setId(int id);
// BlendMode getBlendMode();
// void setBlendMode(BlendMode blendMode);
// QMap<QString, QString> *getProperties();
QPixmap getPixmap();
void setPixmap(QPixmap pixmap);
float getOffsetX();
void setOffsetX(float offsetX);
float getOffsetY();
void setOffsetY(float offsetY);
/** Creates a static tile with the given region
*
* @param textureRegion the {@link TextureRegion} to use. */
StaticTile(QPixmap pixmap);
/** Copy constructor
*
* @param copy the StaticTiledMapTile to copy. */
// StaticTile(StaticTile copy);
};
#endif // STATICTILE_H