Пример #1
0
 public BoutonLien(int x, int y, int width, int height, Rectangle sub_, Scene linkTo_, int indexDico_)
     : base(new Rectangle(Divers.X / 2 - 200, y, width, height), sub_)
 {
     linkTo = linkTo_;
     tuveuxvoir = new Rectangle(0, base.rect.Y - 12, Divers.X, 100);
     indexDico = indexDico_;
 }
Пример #2
0
 public BoutonLien(int x, int y, Rectangle sub_, Scene linkTo_, int indexDico_, bool _inGame = false)
     : base(new Rectangle(x, y, 400, 75), sub_)
 {
     linkTo = linkTo_;
     tuveuxvoir = new Rectangle(0, base.rect.Y - 12, Divers.X, 100);
     indexDico = indexDico_;
     inGame = _inGame;
     sound = true;
 }