@Override
    public void actionPerformed(ActionEvent e) {
        if (e.getSource().equals(timer)) {
            if (ballMovement) {
                updateStatus();
                ai.moveAi(ball.x, ball.y, ball.width, ball.height);
                moveBall();
                repaint();
            }
        } else if (e.getSource().equals(_timer)) {
            repaint();
            ballMovement = true;
            _timer.stop();
            timer.start();
        }
    }