#include "tile.h" Tile::Tile() { } Tile::Tile(Tile::Type t, bool re, bool ro) : type(t), red(re), rotated(ro){ } Tile::Tile(uint16_t w) { type = Type(w & 0x00ff); red = (w >> 8); rotated = (w >> 9); }