public void tick() {
		super.tick();

		// change in x and y
		int dx = 0, dy = 0;

		if (!this.getOuterBounds().intersects(player.getOuterBounds())) {

			if (player.getX() > getX()) {
				dx++;
			} else if (player.getX() < getX()) {
				dx--;
			}
			if (player.getY() > getY()) {
				dy++;
			} else if (player.getY() < getY()) {
				dy--;
			}
			if ((dx != 0 || dy != 0) && !isMobCollision(dx, dy)) {
				move(dx, dy);
			}
		}

	}