public void action() {
		if (coords.equals(maze.getEnd())) {
			isAtEnd = true;
			isMoving = false;
		} else if (isMoving) {
			move(facing, false);
			if (isTurning) {
				if (((coords.x % tileSize) == 0)
						&& ((coords.y % tileSize) == 0)) {
					isTurning = false;
					facing = nextFacing;
				}
			} else if (isStopping) {
				if (((coords.x % tileSize) == 0)
						&& ((coords.y % tileSize) == 0)) {
					isStopping = false;
					isMoving = false;
				}
			}
		} else if (isJumping) {
			jumpMove(facing);
		}
	}