package  {
	
	import flash.display.Sprite;
	public class Bullet extends Sprite
	{
		public var speed:Number = 2.0;
		public var vx:Number;
		public var vy:Number;
			
		public function Bullet() 
		{
			drawBullet();
		}
		
		public function drawBullet()
		{
			graphics.lineStyle(1,0x000000);
			graphics.beginFill(0x0000FF);
			graphics.drawCircle(0,0,3);
			graphics.endFill();
		}
		
		public function update()
		{
			x += vx;
			y += vy;
		}

	}
	
}
