コード例 #1
0
 public AttributswerteGenerator(int anzahlWerte, int anzahlWürfe, int anzahlMaxwerte, bool outputConsole)
 {
     würfel              = new Würfel(6);
     this.anzahlWerte    = anzahlWerte;
     this.anzahlWürfe    = anzahlWürfe;
     this.anzahlMaxwerte = anzahlMaxwerte;
     this.outputConsole  = outputConsole;
 }
コード例 #2
0
 public AttributswerteGenerator(bool outputConsole)
 {
     würfel              = new Würfel(6);
     this.anzahlWerte    = 6;
     this.anzahlWürfe    = 4;
     this.anzahlMaxwerte = 3;
     this.outputConsole  = outputConsole;
 }