2020-09-13 23:37:55 +01:00
|
|
|
#pragma once
|
2018-09-23 00:47:28 +01:00
|
|
|
#ifndef TILE_H
|
|
|
|
#define TILE_H
|
|
|
|
|
2021-02-18 00:20:14 +00:00
|
|
|
class Tile {
|
2018-09-23 00:47:28 +01:00
|
|
|
public:
|
2021-02-18 00:20:14 +00:00
|
|
|
Tile() : tile(0), xflip(false), yflip(false), palette(0) {
|
|
|
|
}
|
2021-02-17 02:45:54 +00:00
|
|
|
|
2021-02-18 00:20:14 +00:00
|
|
|
Tile(int tile, bool xflip, bool yflip, int palette) : tile(tile), xflip(xflip), yflip(yflip), palette(palette) {
|
|
|
|
}
|
2021-02-17 02:45:54 +00:00
|
|
|
|
2018-09-23 00:47:28 +01:00
|
|
|
public:
|
|
|
|
int tile;
|
2018-10-06 21:49:26 +01:00
|
|
|
bool xflip;
|
|
|
|
bool yflip;
|
2018-09-23 00:47:28 +01:00
|
|
|
int palette;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // TILE_H
|