Example #1
0
 public void Draw()
 {
     width  = texturesCollection[StandardImgFrame].Width;
     height = texturesCollection[StandardImgFrame].Height;
     _Draw();
     Fire.FiresDraw(bullets);
 }
Example #2
0
        // centre of rotation , hw fast thy're rotating
        public void Draw(Vector2 Origin, double rotatingSpeed)
        {
            width  = texturesCollection[StandardImgFrame].Width;
            height = texturesCollection[StandardImgFrame].Height;

            _Draw(Origin, rotatingSpeed, 1, DoRotation); // draw wth rotation
            //  Game1.spriteBatch.DrawString(Game1.font, "score", new Vector2(100, 100), Color.Red);

            Fire.FiresDraw(bullets);
        }