public void keyPressed(KeyEvent evt) 
			{
			      int key = evt.getKeyCode();
			      if(key == KeyEvent.VK_ESCAPE) System.exit(0);
			      if(key == keyup)moveup = true;
			      if(key == keydown)movedown = true;
			      if(key == keyleft)moveleft = true;
			      if(key == keyright)moveright = true;
			      if(key == KeyEvent.VK_SHIFT)sprintkey=true;			      
			      if(key == KeyEvent.VK_T)zombies.add(newzombie());
			      if(key == KeyEvent.VK_Q)pausegame();				
			}