@Override
	public void act() {
		if (wander > 0) {
			wander--;
			this.move(direction);
		} else if ((player.getX() == this.getX() || player.getY() == this.getY())) {
			this.moveTowardsTarget(player.getX(), player.getY());
		} else if (this.getX() != homeX && this.getY() != homeY) {
			this.moveTowardsTarget(homeX, homeY);
		} else {
			wander = 10;
			this.direction = this.getRandomDirection();
		}
	}