Пример #1
0
 public MidPntDisplmnt(ref int[,] map, float smooth, int[,] seedVal, int randSeed)
 {
     this.smooth = smooth;
     this.map = map;
     if (randSeed == -1)
     {
         Random r = new Random();
         seed = r.Next();
     }
     else
         seed = randSeed;
     this.seedVal = seedVal;
     borderAction = zeroBorder;
 }
Пример #2
0
 public void SetBorderAction(BorderAction action)
 {
     borderAction = action;
 }