Back to project page Ready-Set-Rogue.
The source code is released under:
GNU General Public License
If you think the Android project Ready-Set-Rogue 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.warsheep.scamp.components; import com.badlogic.ashley.core.Component; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.g2d.TextureAtlas; //from www.ja va2s. c o m public class VisibleComponent extends Component { public TextureAtlas.AtlasRegion image; public Color color = Color.WHITE; public String dir; public String file; // origin dictates where the image is anchored, // for the purposes of rotation and scaling public float originX = 0.0f; public float originY = 0.0f; }