public boolean keepInBox(String direction, int nbCase) {
		Iterator<Brick> itr = this.getBricks().iterator();
		while(itr.hasNext()) {	
			Brick b = (Brick) itr.next();
			if(direction == "down" && b.getAbsoluteCoords().y + nbCase >= 20) {
				return false;
			}
			
			if(direction == "left" && b.getAbsoluteCoords().x + nbCase <= -1) {
				return false;
			} else if (direction == "right" && b.getAbsoluteCoords().x + nbCase >= 10) {
				return false;
			}
		}
		return true;
	}