// Path: core/src/com/v5ent/game/utils/Resource.java
// public static final String ITEMS_TEXTURE_ATLAS_PATH = "items/items.pack";
// 
// Path: core/src/com/v5ent/game/utils/Resource.java
// public static final String STATUSUI_SKIN_PATH = "skins/statusui.json";
// 
// Path: core/src/com/v5ent/game/utils/Resource.java
// public static final String STATUSUI_TEXTURE_ATLAS_PATH = "skins/statusui.pack";


import java.util.HashMap;
import java.util.Map;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.assets.AssetDescriptor;
import com.badlogic.gdx.assets.AssetErrorListener;
import com.badlogic.gdx.assets.AssetManager;
import com.badlogic.gdx.assets.loaders.MusicLoader;
import com.badlogic.gdx.assets.loaders.SoundLoader;
import com.badlogic.gdx.assets.loaders.resolvers.InternalFileHandleResolver;
import com.badlogic.gdx.audio.Music;
import com.badlogic.gdx.audio.Sound;
import com.badlogic.gdx.graphics.Pixmap;
import com.badlogic.gdx.graphics.g2d.Animation;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.TextureAtlas;
import com.badlogic.gdx.graphics.g2d.TextureRegion;
import com.badlogic.gdx.maps.MapProperties;
import com.badlogic.gdx.maps.tiled.TiledMap;
import com.badlogic.gdx.maps.tiled.TmxMapLoader;
import com.badlogic.gdx.scenes.scene2d.ui.Skin;
import com.badlogic.gdx.utils.Array;
import com.badlogic.gdx.utils.Disposable;
import static com.v5ent.game.utils.Resource.ITEMS_TEXTURE_ATLAS_PATH;
import static com.v5ent.game.utils.Resource.STATUSUI_SKIN_PATH;
import static com.v5ent.game.utils.Resource.STATUSUI_TEXTURE_ATLAS_PATH;
		//load all hero's pack
		for (Map.Entry<String, String> entry : Resource.instance.players.entrySet()) {
			String key = entry.getKey();
			String value = entry.getValue().toString();
			assetManager.load(value, Texture.class);
			String attackFilePath = Resource.instance.fighters.get(key);
			if(attackFilePath!=null){
				assetManager.load(attackFilePath, Texture.class);
			}
		}
		for (Map.Entry<String, String> entry : Resource.instance.npcs.entrySet()) {
			String key = entry.getKey();
			String value = entry.getValue().toString();
			assetManager.load(value, Texture.class);
		}
		//TODO:load all map's file
		for (Map.Entry<String, String> entry : Resource.instance.maps.entrySet()) {
			String key = entry.getKey();
			String value = entry.getValue().toString();
			assetManager.load(value, TiledMap.class);
		}
		assetManager.load(Resource.MONSTERS0,Texture.class);
		assetManager.load(Resource.MONSTERS1,Texture.class);
		assetManager.load(Resource.TOUCH,Texture.class);
		assetManager.load(Resource.SHADOW,Texture.class);
		assetManager.load(Resource.SELECTED,Texture.class);
		assetManager.load(Resource.HP_BAR,Texture.class);
		assetManager.load(Resource.BAR,Texture.class);

		assetManager.load(Resource.STATUSUI_TEXTURE_ATLAS_PATH,TextureAtlas.class);
// Path: core/src/com/v5ent/game/utils/Resource.java
// public static final String ITEMS_TEXTURE_ATLAS_PATH = "items/items.pack";
// 
// Path: core/src/com/v5ent/game/utils/Resource.java
// public static final String STATUSUI_SKIN_PATH = "skins/statusui.json";
// 
// Path: core/src/com/v5ent/game/utils/Resource.java
// public static final String STATUSUI_TEXTURE_ATLAS_PATH = "skins/statusui.pack";


// Path: core/src/com/v5ent/game/utils/Assets.java
import java.util.HashMap;
import java.util.Map;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.assets.AssetDescriptor;
import com.badlogic.gdx.assets.AssetErrorListener;
import com.badlogic.gdx.assets.AssetManager;
import com.badlogic.gdx.assets.loaders.MusicLoader;
import com.badlogic.gdx.assets.loaders.SoundLoader;
import com.badlogic.gdx.assets.loaders.resolvers.InternalFileHandleResolver;
import com.badlogic.gdx.audio.Music;
import com.badlogic.gdx.audio.Sound;
import com.badlogic.gdx.graphics.Pixmap;
import com.badlogic.gdx.graphics.g2d.Animation;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.TextureAtlas;
import com.badlogic.gdx.graphics.g2d.TextureRegion;
import com.badlogic.gdx.maps.MapProperties;
import com.badlogic.gdx.maps.tiled.TiledMap;
import com.badlogic.gdx.maps.tiled.TmxMapLoader;
import com.badlogic.gdx.scenes.scene2d.ui.Skin;
import com.badlogic.gdx.utils.Array;
import com.badlogic.gdx.utils.Disposable;
import static com.v5ent.game.utils.Resource.ITEMS_TEXTURE_ATLAS_PATH;
import static com.v5ent.game.utils.Resource.STATUSUI_SKIN_PATH;
import static com.v5ent.game.utils.Resource.STATUSUI_TEXTURE_ATLAS_PATH;

		//load all hero's pack
		for (Map.Entry<String, String> entry : Resource.instance.players.entrySet()) {
			String key = entry.getKey();
			String value = entry.getValue().toString();
			assetManager.load(value, Texture.class);
			String attackFilePath = Resource.instance.fighters.get(key);
			if(attackFilePath!=null){
				assetManager.load(attackFilePath, Texture.class);
			}
		}
		for (Map.Entry<String, String> entry : Resource.instance.npcs.entrySet()) {
			String key = entry.getKey();
			String value = entry.getValue().toString();
			assetManager.load(value, Texture.class);
		}
		//TODO:load all map's file
		for (Map.Entry<String, String> entry : Resource.instance.maps.entrySet()) {
			String key = entry.getKey();
			String value = entry.getValue().toString();
			assetManager.load(value, TiledMap.class);
		}
		assetManager.load(Resource.MONSTERS0,Texture.class);
		assetManager.load(Resource.MONSTERS1,Texture.class);
		assetManager.load(Resource.TOUCH,Texture.class);
		assetManager.load(Resource.SHADOW,Texture.class);
		assetManager.load(Resource.SELECTED,Texture.class);
		assetManager.load(Resource.HP_BAR,Texture.class);
		assetManager.load(Resource.BAR,Texture.class);

		assetManager.load(Resource.STATUSUI_TEXTURE_ATLAS_PATH,TextureAtlas.class);
		assetManager.load(Resource.ITEMS_TEXTURE_ATLAS_PATH,TextureAtlas.class);