Beispiel #1
0
 public static PolarGenerator GetInstance()
 {
     if (pg == null)
     {
         pg = new PolarGenerator();
     }
     return(pg);
 }
Beispiel #2
0
 PolarGenerator()
 {
     pg = this;
 }
Beispiel #3
0
 public PolarGenerator(int W, int H)
 {
     pg = this;
     init(W, H);
 }