Back to project page PoopSwoop.
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.
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); } } }