public void Draw(SpriteBatch spriteBatch, font Font, Extra extra, Goku goku,SenzuBeans senzuBean, Villain buu, Redbull redBull) { spriteBatch.Draw(extra.GameplayBackgroundPic, BGRect, Color.White); spriteBatch.Draw(goku.Sprite, goku.Position, Color.White); foreach (Rectangle rect in senzuBean.SenzuBeanRect) spriteBatch.Draw(senzuBean.Pic, rect, Color.White); spriteBatch.Draw(extra.pixel, bar.HealthRect, Color.Red); spriteBatch.Draw(extra.pixel, bar.EXPRect, Color.WhiteSmoke); LevelUpDraw(spriteBatch, goku, Font); spriteBatch.DrawString(Font.SelectionFont, "Health: " + goku.health, new Vector2(5, -7), Color.Black); spriteBatch.DrawString(Font.SelectionFont, "Level: " + goku.level, new Vector2(5, 690), Color.Black); spriteBatch.DrawString(Font.SelectionFont, "You're Score: " + goku.score * goku.level, new Vector2(570, 0), Color.Black); spriteBatch.Draw(buu.Sprite, buu.Position, Color.White); foreach (Rectangle rect in redBull.redBullRect) spriteBatch.Draw(redBull.redBullPic, rect, Color.White); redBull.RedbullIconDraw(spriteBatch, Font); }
public void Draw(SpriteBatch spriteBatch, Extra extra, Ch2Goku goku2, Ch2Goku MirrorGoku, SenzuBeans senzuBean, font Font, Redbull redBull, Ch2Villain Villain2) { spriteBatch.Draw(extra.GameplayBackgroundPic, new Rectangle(0, 0, 545, 720), Color.White); spriteBatch.Draw(extra.Namek, new Rectangle(540, 0, 545, 720), Color.White); spriteBatch.Draw(goku2.Sprite, goku2.Position, Color.White); spriteBatch.Draw(MirrorGoku.Sprite, MirrorGoku.Position, Color.White); foreach (Rectangle rect in senzuBean.SenzuBeanRect) spriteBatch.Draw(senzuBean.Pic, rect, Color.White); spriteBatch.Draw(extra.pixel, bar.HealthRect, Color.Red); spriteBatch.Draw(extra.pixel, bar.EXPRect, Color.WhiteSmoke); spriteBatch.DrawString(Font.SelectionFont, "Health: " + goku2.health, new Vector2(5, -7), Color.Black); spriteBatch.DrawString(Font.SelectionFont, "Level: " + goku2.level, new Vector2(5, 690), Color.Black); spriteBatch.DrawString(Font.SelectionFont, "You're Score: " + score, new Vector2(570, 0), Color.Green); foreach (Rectangle rect in redBull.redBullRect) spriteBatch.Draw(redBull.redBullPic, rect, Color.White); redBull.RedbullIconDraw(spriteBatch, Font); spriteBatch.Draw(Villain2.Sprite, Villain2.Position, Color.White); }