Android Open Source - funnyboat-Android Death Body






From Project

Back to project page funnyboat-Android.

License

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.

Java Source Code

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;
  }

}




Java Source Code List

com.ankit.funnyboat.Bullet.java
com.ankit.funnyboat.DeathBody.java
com.ankit.funnyboat.Enemy.java
com.ankit.funnyboat.GameModule.java
com.ankit.funnyboat.GameObject.java
com.ankit.funnyboat.Game.java
com.ankit.funnyboat.Gameplay.java
com.ankit.funnyboat.MainActivity.java
com.ankit.funnyboat.Menu.java
com.ankit.funnyboat.Player.java
com.ankit.funnyboat.Water.java