Android Open Source - PoopSwoop Poo






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;
import java.util.LinkedList;
import java.util.Random;
// w w  w.  j  a  v  a2s.c  o m
import android.util.Log;
//---------------------------- BIRD POO -----------------------------------//
// Class for the poo
public class Poo {
  double y,speed;
  int x,type;
  boolean gone =false;
  public Poo(int x, int y, int speed, int type) {
    this.x = x;
    this.y = y;
    this.speed = speed;
    this.type = type;
    if (type ==GameAlgs.BOMB){// ensures bomb doesnt coincide with other poo
      this.speed-=(speed<=2?-0.5:0.5);
      //Log.v("debug","DEBUG - BOMBSPEED "+this.speed);
    }
  }
}




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