public void drawPlayer(Point p, bool flip)
 {
     if (flip)
     {
         player.Image.RotateFlip(RotateFlipType.RotateNoneFlipX);
     }
     player.Location = new System.Drawing.Point((int)(p.getX() - 90), (int)(p.getY() - 90));
     player.BringToFront();
 }
        public void newFireball(Point p, float angle)
        {
            TransparentPictureBox newFireball = new TransparentPictureBox(fireball.getZOrder());

            newFireball.Image = fireball.Image;
            newFireball.rotateTo(angle);
            newFireball.SetBounds((int)p.getX(), (int)p.getY(), fireball.Width, fireball.Height);
            fireballList.Add(newFireball);
            gamePanel.Controls.Add(newFireball);
            newFireball.BringToFront();
        }
        // Create new arrow/fireball
        public void newArrowProjectile(Point p, float angle)
        {
            TransparentPictureBox newArrow = new TransparentPictureBox(arrow.getZOrder());

            newArrow.Image = arrow.Image;
            newArrow.rotateTo(angle);
            newArrow.SetBounds((int)p.getX(), (int)p.getY(), arrow.Width, arrow.Height);
            arrowList.Add(newArrow);
            gamePanel.Controls.Add(newArrow);
            newArrow.BringToFront();
        }