public void tick(World world, int delta) {
		if (this.alive) {
			// Update the equipped weapon (if there is a weapon equipped)
			if (this.weapon != null) this.weapon.tick(this, world, delta);
			
			// Shoot if the player is detected
			if (this.detect()) this.weapon.shot(world, this.weapon.getDelay().getDuration() + Util.getRandomIntBetween(3500, 0));

			// Set to the correct animation
			if (this.running) this.animation = Resources.similiRunning;
			
			else this.animation = Resources.similiStatic;
			
			if (this.getAngleWithPlayer() < 0) 
				this.animation.setReverse(true);
			
			else 
				this.animation.setReverse(false);
		}
	}