public void keyPressed(KeyEvent e) {
            chac.keyPressed(e);
            if(e.getKeyCode() == KeyEvent.VK_SHIFT)
            	frozen = true;
            if(e.getKeyCode() == KeyEvent.VK_Q){
            	//If shift is held, switch universes
            	if(frozen) {
            		universe = 1 - universe;
            		chac.setUniverse(universe);
                	anime.changeUniverse(universe);
            	}
            }
            if(e.getKeyCode() == KeyEvent.VK_W){
	            if(chac.env.checExit(level, universe, chac.getCenter())){
	            	level += 1;
	            	universe = 0;
	            	chac.update(level);
	            	anime.changeLevel(level);
	            	anime.changeUniverse(universe);
	            }
            }
            
            if(e.getKeyCode() == KeyEvent.VK_N){
            	level += 1;
            	universe = 0;
            	chac.update(level);
            	anime.changeLevel(level);
            	anime.changeUniverse(universe);
            }
            if(e.getKeyCode() == KeyEvent.VK_ENTER){
            	anime.init();
            }
        }