public void updatedReleasedKeys() {
		
		// Remove all keys that have been released since we last checked.
		for (int keyCode : keyReleased) {
			keyPressed.remove(keyCode);
		}
		
		// Clear the keys that are released, since
		// they are handled now.
		keyReleased.clear();
		
	}