enum Angle {
	left,
	right,
	up,
	down
}
interface CommonOffset {
	x: number;
	y: number;
}
interface CommonSize {
	width: number;
	height: number;
}
interface CommonArea extends CommonOffset, CommonSize {
	
}
class Area {
	x: number;
	y: number;
	width: number;
	height: number;

	constructor(x:number, y:number, width:number, height:number) {
		this.x = x;
		this.y = y;
		this.width = width;
		this.height = height;
	}
}
