Android Open Source - ZombieBird Game World






From Project

Back to project page ZombieBird.

License

The source code is released under:

Apache License

If you think the Android project ZombieBird 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.kilobolt.GameWorld;
/*from   w w  w  . j  ava 2s . c o  m*/
import com.kilobolt.GameObjects.Bird;
import com.kilobolt.GameObjects.ScrollHandler;

public class GameWorld {
  
  private Bird bird;
  private ScrollHandler scroller;
  
  public GameWorld(int midPointY){
    bird = new Bird(33, midPointY - 5, 17, 12);
    scroller = new ScrollHandler(midPointY + 66);
  }

  public void update(float delta) {
    bird.update(delta);
    scroller.update(delta);
  }
  
  public Bird getBird() {
    return bird;
  }
  
  public ScrollHandler getScroller() {
    return scroller;
  }
}




Java Source Code List

com.kilobolt.GameObjects.Bird.java
com.kilobolt.GameObjects.Grass.java
com.kilobolt.GameObjects.Pipe.java
com.kilobolt.GameObjects.ScrollHandler.java
com.kilobolt.GameObjects.Scrollable.java
com.kilobolt.GameWorld.GameRenderer.java
com.kilobolt.GameWorld.GameWorld.java
com.kilobolt.Screens.GameScreen.java
com.kilobolt.ZBHelpers.AssetLoader.java
com.kilobolt.ZBHelpers.InputHandler.java
com.kilobolt.ZombieBird.MainActivity.java
com.kilobolt.ZombieBird.Main.java
com.kilobolt.ZombieBird.RobovmLauncher.java
com.kilobolt.ZombieBird.ZBGame.java
com.kilobolt.ZombieBird.client.GwtLauncher.java