public void onKeyPressed(char key, int code, boolean coded)
	{
		if (coded)
		{
			// Checks whether the key was just pressed instead of being already down
			if (!this.codesDown.contains(code))
			{
				// If so, marks the key as pressed
				if (!this.codesPressed.contains(code))
					this.codesPressed.add(code);
			
				// Sets the key down
				this.codesDown.add(code);
			}
		}
		else
		{
			if (!this.keysDown.contains(key))
			{
				if (!this.keysPressed.contains(key))
					this.keysPressed.add(key);
				
				this.keysDown.add(key);
			}
		}
	}