@Override
    public void update(long l) {
        _playField.update(l);
        double speedX = 0;
        if (keyDown(KeyEvent.VK_LEFT)) {
            speedX = -0.5;
        } else if (keyDown(KeyEvent.VK_RIGHT)) {
            speedX = 0.5;
        }
        if (_gameModel.gameField().racket() != null) {
            _gameModel.gameField().racket().setSpeed(speedX, 0);
            if (_gameModel.isBallStart()) {
                _gameModel.gameField().balls().get(0).setSpeed(Buffer.findSprite(_gameModel.gameField().racket()).getHorizontalSpeed(), 0);
            }

            if (keyPressed(KeyEvent.VK_SPACE) && _gameModel.isBallStart()) {
                _gameModel.startBall();
            }
        }
    }