@SuppressWarnings("deprecation")
		public void keyPressed(KeyEvent e) 
		{
			int key = e.getKeyCode();
			if (key == KeyEvent.VK_ENTER && gameover)
				restartGame();
			if (key == KeyEvent.VK_ESCAPE && gameover)
			{
				TronFrame.popAll();
			}
			else if(key == KeyEvent.VK_ESCAPE)
			{
				animator.suspend();
				TronFrame.pushScreen(new GameMenu(trails, players));
			}
			else
				keylist.add(key);
		}