intCIBrick::shiftLeft(CBin*bin){unsignedintposX;posX=getPosX();posX=posX-1;setPosX(posX);if(checkCollision(bin)==0){setPosX(posX+1);return0;}return1;}intCIBrick::shiftDown(CBin*bin){unsignedintposY;posY=getPosY();posY=posY+1;setPosY(posY);if(checkCollision(bin)==0){setPosY(posY-1