summaryrefslogtreecommitdiff
path: root/common/tile.cpp
blob: f5e1ee451c62c91b3ff5c29ccd80628280f9c939 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "tile.h"

Tile::Tile() {
	
}

Tile::Tile(Tile::Type t, Tile::Flags f) : type(t), flags(f) {
	
}

Tile::Tile(uint16_t w) {
	type = Type(w & 0x00ff);
	flags = Flags(w >> 8);
}