extends Node

enum directions_8 {
	TOP_LEFT = 1,
	TOP = 2,
	TOP_RIGHT = 4,
	RIGHT = 8,
	BOTTOM_RIGHT = 16,
	BOTTOM = 32,
	BOTTOM_LEFT = 64,
	LEFT = 128
}

enum directions_4 {
	TOP = 1,
	RIGHT = 2,
	BOTTOM = 4,
	LEFT = 8
}

enum bloc_sides_id {
	SIDE_0 = 0,
	SIDE_1 = 1,
	SIDE_2_ANGLE = 2,
	SIDE_2_OPPOSITE = 3,
	SIDE_3 = 4,
	SIDE_4 = 5
}

const GRID_ROTATION = [0, 22, 10, 16]
