コード例 #1
0
 public CorrupterOptions()
 {
     rnd = new Random();
     Filter = new WADFilter();
     Start = rnd % 50;
     End = null;
     Increment = 1 + (rnd % 32);
     CorruptMode = (CorruptMode)(rnd % corruptModes);
     CorruptValue = (byte)(rnd % 256);
     CorruptSeed = rnd;
     ZDOOM = false;
 }
コード例 #2
0
 public CorrupterOptions()
 {
     rnd          = new Random();
     Filter       = new WADFilter();
     Start        = rnd % 50;
     End          = null;
     Increment    = 1 + (rnd % 32);
     CorruptMode  = (CorruptMode)(rnd % corruptModes);
     CorruptValue = (byte)(rnd % 256);
     CorruptSeed  = rnd;
     ZDOOM        = false;
 }