porymap/include/core/tile.h

31 lines
418 B
C
Raw Normal View History

2020-09-13 23:37:55 +01:00
#pragma once
#ifndef TILE_H
#define TILE_H
class Tile
{
public:
2021-02-17 02:45:54 +00:00
Tile() :
tile(0),
xflip(false),
yflip(false),
palette(0)
{ }
Tile(int tile, bool xflip, bool yflip, int palette) :
tile(tile),
xflip(xflip),
yflip(yflip),
palette(palette)
{ }
public:
int tile;
bool xflip;
bool yflip;
int palette;
};
#endif // TILE_H