Android Open Source - googol Body






From Project

Back to project page googol.

License

The source code is released under:

MIT License

If you think the Android project googol 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.martinb.googol.Objects;
/* ww  w. ja v a 2  s  . c o m*/
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.math.Rectangle;

/**
 * Parent of all renderable objects, extends Rectangle
 */
@SuppressWarnings("serial")
public class Body extends Rectangle {
  
  Texture texture;
  World world;
  
  public Body(float x, float y, float w, float h, Texture texture, World world) {
    super(x, y, w, h);
    this.texture = texture;
    this.world = world;
  }
  
  public Body(Rectangle rect, Texture texture, World world) {
    super(rect);
    this.texture = texture;
  }
}




Java Source Code List

com.martinb.googol.Googol.java
com.martinb.googol.Control.Assets.java
com.martinb.googol.Control.Input.java
com.martinb.googol.Control.Path.java
com.martinb.googol.Control.Upgrades.java
com.martinb.googol.Objects.Body.java
com.martinb.googol.Objects.Character.java
com.martinb.googol.Objects.Coin.java
com.martinb.googol.Objects.World.java
com.martinb.googol.Screens.MenuScreen.java
com.martinb.googol.Screens.Screen.java
com.martinb.googol.android.AndroidLauncher.java
com.martinb.googol.client.HtmlLauncher.java
com.martinb.googol.desktop.DesktopLauncher.java