public int getIntCode(String key) {
		if (key == "up") return up;
		else if (key == "right") return right;
		else if (key == "left") return left;
		else if (key == "down") return down;
		else if (key == "jump") return jump;
		else return 0;
	}