package Mobs 
{
	/**
	 * ...
	 * @author Michael Miriti
	 */
	public class Hopter extends Mob 
	{
		private var image:Array =
		[
"---------------+---------------",
"          ___ /^^[___              _",
"         /|^+----+   |#___________//",
"       ( -+ |____|   _______-----+/",
"        ==_________--'            \\",
"          ~_|___|__"
		];
		
		public function Hopter() 
		{
			super();		
			x = 3;
			y = 3;
		}
		
		override public function render(delta:Number):void 
		{
			super.render(delta);
			
			var px:int = x - MapManager.inst.shiftX;
			var py:int = y - MapManager.inst.shiftY;
			
			for (var i:int = 0; i < image.length; i++) 
			{
				Main.i.setString(px, py + i, image[i]);
			}
		}
		
	}

}