// Lorsque le système est prêt à afficher, il appelle cette fonction private void Draw() { // affichage des personnages Global.Sprites.Get("decor").DrawToScreen(0, 0); MainLoop.Affichage(); label1.Text = Timer.GetStringTime(); label8.Text = Timer.GetFPS() + " FPS"; Global.Ecran.DrawString("Tour : " + Global.Round, new Font(FontFamily.GenericSansSerif, 19, FontStyle.Bold), Brushes.Black, Coord.GetXBordDroitEcran() - 198, 21); Global.Ecran.DrawString("Tour : " + Global.Round, new Font(FontFamily.GenericSansSerif, 20, FontStyle.Regular), Brushes.White, Coord.GetXBordDroitEcran() - 195, 20); label2.Text = "" + Global.dollar; }
// Lorsque le système est prêt à afficher, il appelle cette fonction private void Draw() { // affichage des personnages Global.Sprites.Get("decor").DrawToScreen(0, 0); MainLoop.Affichage(); label1.Text = Timer.GetStringTime(); label4.Text = "fps : " + Timer.GetFPS(); label5.Text = "Tour : " + Global.Round; label2.Text = "" + Global.dollar; }