public int action(String inp) {

		switch (inp) {

		case "a":
			HR.move(this, -1, 0);

			break;
		case "s":
			HR.move(this, 0, 1);

			break;
		case "d":
			HR.move(this, 1, 0);

			break;
		case "w":
			HR.move(this, 0, -1);

			break;
		case "f":
			if (getEA().able) {
				getEA().move(this, true);
			}
			break;
		case "p":
			return 0;

		default:

			break;
		}

		interact();

		if (end())
			return 0;

		return 1;
	}