#include ".\tilepoints.h"

TilePoints::TilePoints(void)
{	
}

TilePoints::~TilePoints(void){
	if (left){
		delete left;
		left = 0;
	}
	if (right){
		delete right;
		right = 0;
	}
	if (top){
		delete top;
		top = 0;
	}
	if (bottom){
		delete bottom;
		bottom = 0;
	}

}

POINT* TilePoints::getLeft() {
	return left;
}

POINT* TilePoints::getTop() {
	return top;
}

POINT* TilePoints::getRight() {
	return right;
}

POINT* TilePoints::getBottom() {
	return bottom;
}

void TilePoints::setLeft( POINT* newPoint ) {
	left = newPoint;
}

void TilePoints::setTop( POINT* newPoint ) {
	top = newPoint;
}

void TilePoints::setRight( POINT* newPoint ) {
	right = newPoint;
}

void TilePoints::setBottom( POINT* newPoint ) {
	bottom = newPoint;
}

