public void keyPressed(KeyEvent e){//set the right X/Y-add
        int key = e.getKeyCode();
        if(key == KeyEvent.VK_LEFT || key == KeyEvent.VK_A){
            xAdd = getSpeed();
        }
        if(key == KeyEvent.VK_RIGHT || key == KeyEvent.VK_D){
            xAdd = -getSpeed();
        }
        if(key == KeyEvent.VK_UP || key == KeyEvent.VK_W){
            yAdd = getSpeed();
        }
        if(key == KeyEvent.VK_DOWN || key == KeyEvent.VK_S){
            yAdd = -getSpeed();
        }
        if(key == KeyEvent.VK_SHIFT){
            //Speed = fastSpeed;
            setSpeed(fastSpeed);
        }
    }