public void handleKeyBord() {
        // TODO Auto-generated method stub
        if(board!=null && board.getCurrent() != null){
                if(rotate == true){
                    board.rotate();
		}else if(right == true) {
                    board.right();
		}else if(left == true){
                    board.left();
                }else if(down == true){
                    if(!board.down()) 
                        try {
                        board.next();
                    } catch (GameOverException ex) {
                        Logger.getLogger(BoardController.class.getName()).log(Level.SEVERE, null, ex);
                    }
		}if(hardrop  == true){
                    board.hardDrop();
                }
                hardrop = false;
                right=false;
                left=false;
                down=false;
                rotate=false;
            }
    }