public void keyPressed(KeyEvent event)
	{
		if(getGame().getTurn().getVal() == getLoyalty().getVal())
		{
			if(event.getKeyCode() == KeyEvent.VK_ENTER)
			{
				moveRegistered = true;
			}
			if(event.getKeyCode() == KeyEvent.VK_U)
			{
				for(Location moveLoc : moveLocs)
				{
					getBoard().getNode(moveLoc).setHighlighted(false);
				}
				
				moveLocs = new ArrayList<Location>();
			}
			if(event.getKeyCode() == KeyEvent.VK_R)
			{
				promotionType = Rook.class;
			}
			if(event.getKeyCode() == KeyEvent.VK_B)
			{
				promotionType = Bishop.class;
			}
			if(event.getKeyCode() == KeyEvent.VK_K)
			{
				promotionType = Knight.class;
			}
			if(event.getKeyCode() == KeyEvent.VK_Q)
			{
				promotionType = Queen.class;
			}
			
			GamePanel.frame.repaint();
		}
	}