public UserControl_Chat(Interactiv_Tutoriel tuto)
 {
     InitializeComponent();
     this.tutorial    = true;
     this.tuto        = tuto;
     this.ChannelName = "Game";
     nameChannel.Text = "Game";
 }
        public UserControl_Guess(Interactiv_Tutoriel tuto)
        {
            thirdGess = false;

            this.passiv       = false;
            this.activateTuto = true;
            InitializeComponent();
            this.tuto = tuto;
        }
Exemple #3
0
 public UserControl_Passive(Interactiv_Tutoriel tuto)
 {
     InitializeComponent();
     this.activatetuto = true;
     this.tuto         = tuto;
     this.passive      = true;
     this.BarTuto      = new UserControl_GameInfoBar("PASSIVE");
     this.InfoBar.Children.Add(BarTuto);
 }
Exemple #4
0
        public UserControl_Write(Interactiv_Tutoriel tuto)
        {
            InitializeComponent();
            this.DrawingArea.Children.Add(drawView);
            drawView.surfaceDessin.Background = Brushes.LightGray;
            this.InfoBar.Children.Add(new UserControl_GameInfoBar("WRITE"));

            this.tuto = tuto;
        }
        public UserControl_Guess(UserControl_Passive p, Interactiv_Tutoriel tuto)
        {
            thirdGess = false;

            this.passiv       = true;
            this.activateTuto = true;
            this.tuto         = tuto;
            InitializeComponent();
            this.PassiveView.Children.Add(p);
            p.BarTuto.Answer.Content = "1";
            p.BarTuto.Timer.Content  = "10";
            this.passTuto            = p;
        }
        public void step1(Interactiv_Tutoriel tuto)
        {
            this.activateTuto             = true;
            this.tuto                     = tuto;
            this.tuto.tuto.IsEnabled      = true;
            this.surfaceDessin.IsEnabled  = false;
            this.surfaceDessin.Background = Brushes.LightGray;
            Tutorial_popupWindow a = new Tutorial_popupWindow("On va commencer par la présentation de la barre bleu si haut de gauche à droite", "Ok");

            a.ShowDialog();
            a = new Tutorial_popupWindow("A gauche de la barre vous avez les points qui son dédiés a votre équipe, en dessous vous avez le numéro de la manche que vous jouez", "Ok");
            a.ShowDialog();
            a = new Tutorial_popupWindow("Au milieu de la barre vous avez le rôle qui vous ai dédié, dans cette manche vous êtes Auteur, juste en bas vous avez le mot à dessiner et à faire deviner à votre coéquipier", "Ok");
            a.ShowDialog();
            a = new Tutorial_popupWindow("Finalement à gauche de la barre vous avez les points de votre équipe adverse, et juste en bas vous avez un conteur en secondes qui indique le temps que vous disposez pour finir votre dessin", "Ok");
            a.ShowDialog();
            this.notClicked = true;
            a = new Tutorial_popupWindow("Pour commencer à dessiner vous devez choisir un des outils présent a votre droite\n vous pouvez y'allez maintenant !!!", "Ok");
            a.ShowDialog();
        }