public override void Draw() { if (ChicksnVixensGame.Get.UseTrajectory) { for (int i = 0; i < trajectorypositions.Count; i++) { trajectory.Position = trajectorypositions[i]; trajectory.Draw(); } } baseBarrel.Position = position + new Vector2(0, 10); baseBarrel.Draw(); base.Draw(); if (!ChicksnVixensGame.Get.UseTrajectory) { if (fingerDraggingOnMe && currentFireDir.Length() != 0) { arrow.Handle = SpriteHandle.CENTERLEFT; arrow.Position = position; Vector2 dir = currentFireDir; dir.Normalize(); float angle = -JabMath.ATan2(dir.Y, dir.X); arrow.Rot = angle; arrow.Width = currentFireDir.Length() * 10; arrow.Height = 100; arrow.Draw(); } } if (!smoke.CheckFlag(Jabber.Flags.PASSRENDER)) { //Vector2 oldpos = smoke.Position; //smoke.Position = Camera.Get.Position; smoke.Draw(); //smoke.Position = baseBarrel.Position + FireDir * baseBarrel.Width / 2.0f; //smoke.Draw(); } //DrawRect(); }