If you think the Android project Phylane 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.lvadt.phylane.model;
/*fromwww.java2s.com*/import android.graphics.Bitmap;
import android.graphics.Rect;
/**
* Created by Triston on 4/29/2014.
* Less resource heavy "sprite" class, which has no actual graphics
* processing, mainly used in physics engine
*/publicclass WorldObject {
publicfloat x, y;
public Rect bounds = new Rect();
publicint ref;
public WorldObject(float X, float Y, float width, float height, int reference) {
x = X;
y = Y;
bounds.left = (int) x;
bounds.top = (int) y;
bounds.right = (int) (x + width);
bounds.bottom = (int) (y + height);
ref = reference;
}
public Bitmap getBmp(){
return null;
}
}