Back to project page funnyboat-Android.
The source code is released under:
GNU General Public License
If you think the Android project funnyboat-Android 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 com.ankit.funnyboat; /* www. j a v a 2 s. c om*/ import android.graphics.Bitmap; public class DeathBody extends GameObject { Bitmap img; public DeathBody(Bitmap img) { this.img = img; waterUp = false; vy = -100; special = true; } public void tick() { super.tick(); vy = -80; } @Override Bitmap getImage() { return img; } }