public Subtexture buildAsset(AssetUri uri, SubtextureData data) {
return new Subtexture(uri, data);
}
});
assetManager.addResolver(AssetType.SUBTEXTURE, new SubtextureFromAtlasResolver());
assetManager.addResolver(AssetType.TEXTURE, new ColorTextureAssetResolver());
assetManager.addResolver(AssetType.MESH, new IconMeshResolver());
CoreRegistry.putPermanently(ShaderManager.class, new ShaderManagerHeadless());
CoreRegistry.get(ShaderManager.class).initShaders();
}