private void pollInput() {
		while (Keyboard.next()) {
			if (Keyboard.getEventKeyState()) {
				if (!toast.visible) {
					if (Keyboard.getEventKey() == Keyboard.KEY_A) {
						Main.getGamestate().getPlayer().move(-1, 0);
					} else if (Keyboard.getEventKey() == Keyboard.KEY_D) {
						Main.getGamestate().getPlayer().move(1, 0);
					} else if (Keyboard.getEventKey() == Keyboard.KEY_W) {
						Main.getGamestate().getPlayer().move(0, -1);
					} else if (Keyboard.getEventKey() == Keyboard.KEY_S) {
						Main.getGamestate().getPlayer().move(0, 1);
					} else if (Keyboard.getEventKey() == Keyboard.KEY_ESCAPE) {
						new MenuScreen();
						return;
					}
					checkNewPos();
				} else {
					if (Keyboard.getEventKey() == Keyboard.KEY_RETURN) {
						Main.setGamestate(null);
						new MenuScreen();
					}
				}
			}
		}
	}