Beispiel #1
0
 public void init () {
   x = random.nextInt (window.width);
   y = random.nextInt (window.height);
   color = random_color ();
 }
Beispiel #2
0
 public void init()
 {
     x     = random.nextInt(window.width);
     y     = random.nextInt(window.height);
     color = random_color();
 }