public void actionPerformed(ActionEvent e) {
				previousScreen = currentScreen;
				player.setDirection(0);
				player.move();
				final boolean onScreen = methods.onScreen(player);
				if (!onScreen) {
					if (currentScreen.hasLeft()) {
						currentScreen = currentScreen.getLeft();
						ArrayList<Monster> monsters = currentScreen
								.getMonsters();
						monsters.add(player);
						player.setX(760);
					} else {
						player.moveRight();
					}
				}
				if (player.collideTile(currentScreen.getTiles())) {
					player.moveRight();
				}
				player.setDirection(-1);
			}