Example #1
0
 private void AlignOnY(float y) {
   if (birdSprites == null) return;
   int size = birdSprites.size();
   for (int i = 0; i < size; i++) {
     BirdSprite cur = birdSprites.get(i);
     cur.setY(y);
     cur.setAngle(0);
     cur.setSpeed(0);
   }
 }
Example #2
0
 private void LineUpBirds(float start) {
   if (birdSprites == null) return;
   int size = birdSprites.size();
   for (int i = 0; i < size; i++) {
     BirdSprite cur = birdSprites.get(i);
     cur.setX(start);
     cur.setAngle(0);
     cur.setSpeed(0);
     start -= (Bird.getBirdWith() + 10);
   }
 }