Back to project page TreeFrogEngine.
The source code is released under:
MIT License
If you think the Android project TreeFrogEngine 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.discretesoftworks.TestGame; // w w w. ja va 2s . c o m import com.discretesoftworks.framework.Assets; import com.discretesoftworks.framework.GameObject; public class Floor extends GameObject{ public Floor(float x, float y, float z, float width, float height){ super(x,y,z,width,height,null); getModel(0).setSprite(Assets.sprGlass); setSolid(true); } }