function Tile(x, y, sprite, flipH, flipV, flipR, flagA, flagB) {
	this.x      = ~~x;
	this.y      = ~~y;
	this.sprite = ~~sprite;
	this.flipH  = !!flipH;
	this.flipV  = !!flipV;
	this.flipR  = !!flipR;
	this.flagA  = !!flagA;
	this.flagB  = !!flagB;
}
@class Tile

@property {number} x - x position in tilemap
@property {number} y - y position in tilemap
@property {number} sprite - sprite index (number between 0 and 255)
@property {boolean} flipH - flip horizontal
@property {boolean} flipV - flip vertical
@property {boolean} flipR - flip rotation
@property {boolean} flagA - user purpose flag A
@property {boolean} flagB - user purpose flag B