public override void Draw(SuperCaissiere.Engine.Graphics.SpriteBatchProxy spriteBatch) { spriteBatch.Begin(SceneCamera); // les clients foreach (Client cli in liste_client.ToList()) { cli.Draw(spriteBatch); } // La caisse m_cashier.Draw(spriteBatch); foreach (Client cli in liste_client.ToList()) { foreach (ItemBase produits in cli.Items.ToList()) { produits.Draw(spriteBatch); } } // La main en dernier m_hand.Draw(spriteBatch); if (scanner_zone != Rectangle.Empty) { spriteBatch.DrawRectangle(scanner_zone, Color.Red * scanner_color); } spriteBatch.DrawString(Application.MagicContentManager.Font, time.ToString(), new Vector2(10, 10), Color.Chartreuse); //panier.Draw(spriteBatch); spriteBatch.End(); }
public override void Draw(SuperCaissiere.Engine.Graphics.SpriteBatchProxy spriteBatch) { // On dessine deux fois le panier pour avoir de la profondeur ! base.Draw(spriteBatch); Items.ForEach(i => i.Draw(spriteBatch)); // On dessine deux fois le panier pour avoir de la profondeur ! //base.Draw(spriteBatch); hitbox.Draw(spriteBatch); }
public override void Draw(SuperCaissiere.Engine.Graphics.SpriteBatchProxy spriteBatch) { }