package  
{
	import net.flashpunk.Entity;
	import net.flashpunk.FP;
	
	public class Enemy extends Entity
	{
		public var hp:Number = 0;
		
		override public function removed():void
		{
			Bazaar.emit("blood", 5, x, y);
			for (var c:uint = 0; c < 5; c++) 
			{
				var cn:Coin = new Coin(x, y, 50);
				cn.explode();
				FP.world.add(cn);
			}
		}
	}
}