use of com.watabou.gltextures.SmartTexture in project PD-classes by watabou.
the class Image method texture.
public void texture(Object tx) {
texture = tx instanceof SmartTexture ? (SmartTexture) tx : TextureCache.get(tx);
frame(new RectF(0, 0, 1, 1));
}
use of com.watabou.gltextures.SmartTexture in project pixel-dungeon by watabou.
the class HeroSprite method tiers.
public static TextureFilm tiers() {
if (tiers == null) {
SmartTexture texture = TextureCache.get(Assets.ROGUE);
tiers = new TextureFilm(texture, texture.width, FRAME_HEIGHT);
}
return tiers;
}
Aggregations