@Override
    public void keyPressed(KeyEvent e) {
        if (e.getExtendedKeyCode() == KeyEvent.VK_TAB){
            if (paintVars.skill_to_show == 1) {
                paintVars.skill_to_show = 2;
            } else {
                paintVars.skill_to_show = 1;
            }
        }
        if (e.getExtendedKeyCode() == KeyEvent.VK_SPACE){
            if (paintVars.show_paint){
                paintVars.show_paint = false;
            } else {
                paintVars.show_paint = true;
            }
        }
    }