Example #1
0
        public override void Draw(SuperCaissiere.Engine.Graphics.SpriteBatchProxy spriteBatch)
        {
            spriteBatch.Begin(SceneCamera);
            backgroundVomitif.Draw(spriteBatch);
            spriteBatch.End();

            spriteBatch.BeginNoCamera();

            if (Win)
            {
                spriteBatch.DrawString(Application.MagicContentManager.Font, "C'est la fin de la journée, dormir un peu et vous revoir demain !", new Vector2(70, 300), Color.GhostWhite);
            }
            else
            {
                spriteBatch.DrawString(Application.MagicContentManager.Font, "Vous avez échoué dans votre tâche caisse, nous ne serons jamais rencontre à nouveau", new Vector2(40, 300), Color.GhostWhite);
            }

            spriteBatch.End();
        }