setTileTransform(transform) {
		transform.translate(this.width / 2, this.height / 2);
		if (this.flippedAD) {
			transform.rotate((-90 * Math.PI) / 180);
			transform.scale(-1, 1);
		}
		if (this.flippedX) {
			transform.scale(this.flippedAD ? 1 : -1, this.flippedAD ? -1 : 1);
		}
		if (this.flippedY) {
			transform.scale(this.flippedAD ? -1 : 1, this.flippedAD ? 1 : -1);
		}
		transform.translate(-this.width / 2, -this.height / 2);
	}
set the transformation matrix for this tile
@ignore