public void keyReleased(KeyEvent e)
	    {
	    	System.out.println("Key event initialized");
	        int key = e.getKeyCode();
	        //moveDirection = 0;
	        
	        if (key == KeyEvent.VK_LEFT)
	        {
	        	Magnus.dx = 0;
	        }

	        if (key == KeyEvent.VK_RIGHT)
	        {
	        	Magnus.dx = 0;
	        }

	        if (key == KeyEvent.VK_UP || key == KeyEvent.VK_SPACE)
	        {
	        	Magnus.dy = (float) 1;
	        }
	    }