Android Open Source - PoopSwoop Bird






From Project

Back to project page PoopSwoop.

License

The source code is released under:

GNU General Public License

If you think the Android project PoopSwoop listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package poopswoop.appdata;
// Class for the birds/* w w  w. ja  va 2 s  .  co m*/
public class Bird {
  int x, y;  // xy positions
  public int speed;  
  public int drop1,drop2; // the two places the bird will drop poo
  public boolean dropped1,dropped2;//check if dropped
  public Bird(int x, int y, int speed, int drop1, int drop2) {
    this.speed = speed;
    this.x = x;
    this.y = y;
    this.drop1 = drop1;
    this.drop2 = drop2;
    dropped1 =false;
    dropped2=false;
  }
  public Bird(int x, int y, int speed, int drop1) {//no second drop (two poo too proxy, eliminate one)
    this.speed = speed;
    this.x = x;
    this.y = y;
    this.drop1 = drop1;
    dropped1 =false;
    dropped2=true;
  }
  
}




Java Source Code List

jomak.outlinetextview.MainActivity.java
poopswoop.appdata.Bird.java
poopswoop.appdata.GameAlgs.java
poopswoop.appdata.Ponder.java
poopswoop.appdata.Poo.java
poopswoop.appdata.PoopSwoop.java
poopswoop.appdata.Selection.java
poopswoop.appdata.TitleScreen.java