private boolean IsCollision(Map map){
		int ruptile = map.getrightUptiletype(x - 9, y);
		int rdowntile = map.getrightDowntiletype(x - 9, y - 9);
		int luptile = map.getleftUptiletype(x, y);
		int ldowntile = map.getleftDowntiletype(x, y - 9);
		
		if(ruptile != 0 || rdowntile != 0 || luptile != 0 || ldowntile != 0)
			return true;
		return false;
	}