Android Open Source - CameraDemo World






From Project

Back to project page CameraDemo.

License

The source code is released under:

Apache License

If you think the Android project CameraDemo 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.binary.one.camera.demo;
/*from   w  w  w  .ja  v a2 s  . c  o m*/
import android.graphics.Rect;

/**
 * Stores Entities and holds constants pertaining to physics and the screen.
 */
public class World {

  private Rect mBoundingBox = null;

  public World(Rect boundingBox) {
    mBoundingBox = boundingBox;
  }

  public static class Constants {
    public static final float GRAVITY = 3.0f;

    public static final float WIDTH = 1920.0f;
    public static final float HEIGHT = 1080.0f;
  }
}




Java Source Code List

com.binary.one.camera.demo.Camera.java
com.binary.one.camera.demo.GameFragment.java
com.binary.one.camera.demo.GameLogic.java
com.binary.one.camera.demo.MainActivity.java
com.binary.one.camera.demo.World.java