Back to project page googol.
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.
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; } }