@Override
	public void collision(StateBasedGame sbg, Collidable other, Vector2f offset) {
		GameplayState gps = (GameplayState)sbg.getCurrentState();
		// If the chicken is hit with the incendio spell, it explodes.
		if(Incendio.class.isInstance(other)){
			try{
				Sound death = new Sound("snd/ChickenDeath.wav");
				death.play();
			} catch (SlickException e){
				System.out.println("Could not load snd/ChickenDeath.wav");
			}
			Explosion_Small explosion = new Explosion_Small((int)this.getX(), (int)this.getY(),2);
			gps.addUpdated(explosion);
			gps.addRendered(explosion);
			addComponent(new CoTimedRemoval(2,0));
		}
		// If the chicken runs into anything else, it will go the opposite direction, but follow the same path.
		// NOTE- path tends to get off very slightly. This is believed to be due to rounding error.
		else{
			removeComponent(path);
			path = new CoMoveLinearPath(1, .1f, rotation, 250, path.getDistance(), !path.getDirection());
			addComponent(path);
		}
	}