public Direction getDirection(int posX, int posY, int destX, int destY)
	{
		for(int i=0;i<checkpointMap.size();i++)
			if(destX==checkpointMap.get(i).getCheckPointX() && destY==checkpointMap.get(i).getCheckPointY()) return checkpointMap.get(i).getDirection(posX, posY);
		return null;
//		return ((CheckPoint)board[destY][destX]).getMap().getDirection(posX, posY);
	}