Back to project page Station42.
The source code is released under:
Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUC...
If you think the Android project Station42 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.station42.basic; /*from www . j av a 2s .com*/ import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.g2d.TextureRegion; public class EntitySprite { TextureRegion region; public EntitySprite(Texture texture, int xOffset, int yOffset, int width, int height) { region = new TextureRegion(texture, xOffset, yOffset, width, height); } public TextureRegion getRegion() { return region; } }