Beispiel #1
0
 public static void Stan(PictureBox pic, Label des, Button right, Button Left)
 {
     pic.Image     = Image.FromFile("Stan3.jpg");
     des.Text      = "You manage to attack the woman and get out alive.";
     right.Text    = "Go back";
     Left.Visible  = false;
     right.Visible = true;
     right.Click  += (sender, args) =>
     {
         pic.Image     = Image.FromFile("FGO.jpg");
         des.Text      = "";
         right.Visible = false;
         Left.Visible  = false;
         Aappearances.Starter ap = new Aappearances.Starter();
         ap.BoolStan();
         //Volver pantalla
     };
 }
Beispiel #2
0
 public static void Run(PictureBox pic, Label des, Button right, Button Left, Characters player)
 {
     player.takeDamage(player, 10);
     pic.Image     = Image.FromFile("Stan3.jpg");
     des.Text      = "While trying to escape, the woman bites \n you and you lose health, but are still alive.";
     right.Text    = "Go back";
     Left.Visible  = false;
     right.Visible = true;
     right.Click  += (sender, args) =>
     {
         pic.Image     = Image.FromFile("FGO.jpg");
         des.Text      = "";
         right.Visible = false;
         Left.Visible  = false;
         Aappearances.Starter ap = new Aappearances.Starter();
         ap.BoolStan();
         //Volver pantalla
     };
 }